public class lept extends lept
| Modifier and Type | Class and Description |
|---|---|
static class |
lept.Allocator_long |
static class |
lept.BBUFFER |
static class |
lept.BOX |
static class |
lept.BOXA |
static class |
lept.BOXAA |
static class |
lept.CCBORD |
static class |
lept.CCBORDA |
static class |
lept.Deallocator_Pointer |
static class |
lept.DLLIST |
static class |
lept.DPIX |
static class |
lept.FPIX |
static class |
lept.FPIXA |
static class |
lept.GPLOT |
static class |
lept.JBCLASSER |
static class |
lept.JBDATA |
static class |
lept.L_BMF |
static class |
lept.L_BYTEA |
static class |
lept.L_COMP_DATA |
static class |
lept.L_DEWARP |
static class |
lept.L_DEWARPA |
static class |
lept.L_DNA |
static class |
lept.L_DNAA |
static class |
lept.L_HEAP |
static class |
lept.L_KERNEL |
static class |
lept.L_PDF_DATA |
static class |
lept.L_PTRA |
static class |
lept.L_PTRAA |
static class |
lept.L_QUEUE |
static class |
lept.L_RCH |
static class |
lept.L_RCHA |
static class |
lept.L_RDID |
static class |
lept.L_RECOG |
static class |
lept.L_RECOGA |
static class |
lept.L_REGPARAMS |
static class |
lept.L_STACK |
static class |
lept.L_SUDOKU |
static class |
lept.L_TIMER |
static class |
lept.L_WSHED |
static class |
lept.NUMA |
static class |
lept.NUMA2D |
static class |
lept.NUMAA |
static class |
lept.NUMAHASH |
static class |
lept.PIX |
static class |
lept.PIXA |
static class |
lept.PIXAA |
static class |
lept.PIXAC |
static class |
lept.PIXACC |
static class |
lept.PIXC |
static class |
lept.PIXCMAP |
static class |
lept.PIXTILING |
static class |
lept.PTA |
static class |
lept.PTAA |
static class |
lept.RGBA_QUAD |
static class |
lept.SARRAY |
static class |
lept.SEL |
static class |
lept.SELA |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASYMMETRIC_MORPH_BC
enum
|
static int |
BMP_ID
enum
|
static int |
BOXA_VERSION_NUMBER |
static int |
BOXAA_VERSION_NUMBER |
static int |
CCB_GLOBAL_COORDS
enum
|
static int |
CCB_LOCAL_COORDS
enum
|
static int |
CCB_SAVE_ALL_PTS
enum
|
static int |
CCB_SAVE_TURNING_PTS
enum
|
static int |
COLOR_BLUE
enum
|
static int |
COLOR_GREEN
enum
|
static int |
COLOR_RED
enum
|
static int |
DEFAULT_CLIP_LOWER_1
enum
|
static int |
DEFAULT_CLIP_LOWER_2
enum
|
static int |
DEFAULT_CLIP_UPPER_1
enum
|
static int |
DEFAULT_CLIP_UPPER_2
enum
|
static int |
DEFAULT_SEVERITY |
static int |
DEWARP_VERSION_NUMBER |
static int |
DNA_VERSION_NUMBER |
static int |
DPIX_VERSION_NUMBER |
static int |
FALSE |
static int |
FPIX_VERSION_NUMBER |
static int |
GPLOT_DOTS
enum GPLOT_STYLE
|
static int |
GPLOT_EPS
enum GPLOT_OUTPUT
|
static int |
GPLOT_IMPULSES
enum GPLOT_STYLE
|
static int |
GPLOT_LATEX
enum GPLOT_OUTPUT
|
static int |
GPLOT_LINEAR_SCALE
enum GPLOT_SCALING
|
static int |
GPLOT_LINES
enum GPLOT_STYLE
|
static int |
GPLOT_LINESPOINTS
enum GPLOT_STYLE
|
static int |
GPLOT_LOG_SCALE_X
enum GPLOT_SCALING
|
static int |
GPLOT_LOG_SCALE_X_Y
enum GPLOT_SCALING
|
static int |
GPLOT_LOG_SCALE_Y
enum GPLOT_SCALING
|
static int |
GPLOT_NONE
enum GPLOT_OUTPUT
|
static int |
GPLOT_PNG
enum GPLOT_OUTPUT
|
static int |
GPLOT_POINTS
enum GPLOT_STYLE
|
static int |
GPLOT_PS
enum GPLOT_OUTPUT
|
static int |
GPLOT_VERSION_NUMBER |
static int |
GPLOT_X11
enum GPLOT_OUTPUT
|
static int |
HAVE_FMEMOPEN |
static int |
HAVE_LIBGIF |
static int |
HAVE_LIBJP2K |
static int |
HAVE_LIBJPEG |
static int |
HAVE_LIBPNG |
static int |
HAVE_LIBTIFF |
static int |
HAVE_LIBUNGIF |
static int |
HAVE_LIBWEBP |
static int |
HAVE_LIBZ |
static int |
IFF_BMP
enum
|
static int |
IFF_DEFAULT
enum
|
static int |
IFF_GIF
enum
|
static int |
IFF_JFIF_JPEG
enum
|
static int |
IFF_JP2
enum
|
static int |
IFF_LPDF
enum
|
static int |
IFF_PNG
enum
|
static int |
IFF_PNM
enum
|
static int |
IFF_PS
enum
|
static int |
IFF_SPIX
enum
|
static int |
IFF_TIFF
enum
|
static int |
IFF_TIFF_G3
enum
|
static int |
IFF_TIFF_G4
enum
|
static int |
IFF_TIFF_LZW
enum
|
static int |
IFF_TIFF_PACKBITS
enum
|
static int |
IFF_TIFF_RLE
enum
|
static int |
IFF_TIFF_ZIP
enum
|
static int |
IFF_UNKNOWN
enum
|
static int |
IFF_WEBP
enum
|
static int |
JB_CHARACTERS
enum
|
static int |
JB_CONN_COMPS
enum
|
static int |
JB_CORRELATION
enum
|
static String |
JB_DATA_EXT |
static int |
JB_RANKHAUS
enum
|
static String |
JB_TEMPLATE_EXT |
static int |
JB_WORDS
enum
|
static int |
KERNEL_VERSION_NUMBER |
static int |
L_ADD_ABOVE
enum
|
static int |
L_ADD_AT_BOT
enum
|
static int |
L_ADD_AT_LEFT
enum
|
static int |
L_ADD_AT_RIGHT
enum
|
static int |
L_ADD_AT_TOP
enum
|
static int |
L_ADD_BELOW
enum
|
static int |
L_ADD_LEFT
enum
|
static int |
L_ADD_RIGHT
enum
|
static int |
L_ADD_TRAIL_SLASH
enum
|
static int |
L_ADJUST_BOT
enum
|
static int |
L_ADJUST_CHOOSE_MAX
enum
|
static int |
L_ADJUST_CHOOSE_MIN
enum
|
static int |
L_ADJUST_LEFT
enum
|
static int |
L_ADJUST_LEFT_AND_RIGHT
enum
|
static int |
L_ADJUST_RIGHT
enum
|
static int |
L_ADJUST_SKIP
enum
|
static int |
L_ADJUST_TOP
enum
|
static int |
L_ADJUST_TOP_AND_BOT
enum
|
static int |
L_ALL_EDGES
enum
|
static int |
L_ALPHA_CHANNEL
enum
|
static int |
L_ARABIC_NUMERALS
enum
|
static int |
L_ARITH_ADD
enum
|
static int |
L_ARITH_DIVIDE
enum
|
static int |
L_ARITH_MULTIPLY
enum
|
static int |
L_ARITH_SUBTRACT
enum
|
static int |
L_AUTO_DOWNSHIFT
enum
|
static int |
L_BIN_SORT
enum
|
static int |
L_BLACK_IS_MAX
enum
|
static int |
L_BLEND_GRAY
enum
|
static int |
L_BLEND_GRAY_WITH_INVERSE
enum
|
static int |
L_BLEND_TO_BLACK
enum
|
static int |
L_BLEND_TO_WHITE
enum
|
static int |
L_BLEND_WITH_INVERSE
enum
|
static int |
L_BOTH_DIRECTIONS
enum
|
static int |
L_BOUNDARY_BG
enum
|
static int |
L_BOUNDARY_FG
enum
|
static int |
L_BRING_IN_BLACK
enum
|
static int |
L_BRING_IN_WHITE
enum
|
static int |
L_CHOOSE_CONSECUTIVE
enum
|
static int |
L_CHOOSE_MAX
enum
|
static int |
L_CHOOSE_MAX_MIN_DIFF
enum
|
static int |
L_CHOOSE_MIN
enum
|
static int |
L_CHOOSE_SKIP_BY
enum
|
static int |
L_CLEAR_PIXELS
enum
|
static int |
L_CLIP_TO_255
enum
|
static int |
L_CLIP_TO_ZERO
enum
|
static int |
L_CLONE
enum
|
static int |
L_COMBINE
enum
|
static int |
L_COMPACTION
enum
|
static int |
L_COMPARE_ABS_DIFF
enum
|
static int |
L_COMPARE_SUBTRACT
enum
|
static int |
L_COMPARE_XOR
enum
|
static int |
L_CONTINUED_BORDER
enum
|
static int |
L_COPY
enum
|
static int |
L_COPY_CLONE
enum
|
static int |
L_DISPLAY_WITH_IV
enum
|
static int |
L_DISPLAY_WITH_OPEN
enum
|
static int |
L_DISPLAY_WITH_XLI
enum
|
static int |
L_DISPLAY_WITH_XV
enum
|
static int |
L_DISPLAY_WITH_XZGV
enum
|
static int |
L_EQUAL_TO_ZERO
enum
|
static int |
L_EUCLIDEAN_DISTANCE
enum
|
static int |
L_EXCLUDE_REGION
enum
|
static int |
L_EXCLUSIVE_OR
enum
|
static int |
L_FILL_BLACK
enum
|
static int |
L_FILL_WHITE
enum
|
static int |
L_FIRST_IMAGE
enum
|
static int |
L_FLATE_ENCODE
enum
|
static int |
L_FLIP_PIXELS
enum
|
static int |
L_FLOAT_VALUE
enum
|
static int |
L_FOUND
enum
|
static int |
L_FROM_BOT
enum
|
static int |
L_FROM_LEFT
enum
|
static int |
L_FROM_RIGHT
enum
|
static int |
L_FROM_TOP
enum
|
static int |
L_FULL_DOWNSHIFT
enum
|
static int |
L_G4_ENCODE
enum
|
static int |
L_GET_BLACK_VAL
enum
|
static int |
L_GET_BOT
enum
|
static int |
L_GET_LEFT
enum
|
static int |
L_GET_RIGHT
enum
|
static int |
L_GET_TOP
enum
|
static int |
L_GET_WHITE_VAL
enum
|
static int |
L_GREATER_THAN_ZERO
enum
|
static int |
L_HANDLE_ONLY
enum
|
static int |
L_HORIZ
enum
|
static int |
L_HORIZONTAL_EDGES
enum
|
static int |
L_HORIZONTAL_LINE
enum
|
static int |
L_HORIZONTAL_RUNS
enum
|
static int |
L_HS_HISTO
enum
|
static int |
L_HV_HISTO
enum
|
static int |
L_INCLUDE_REGION
enum
|
static int |
L_INSERT
enum
|
static int |
L_INTEGER_VALUE
enum
|
static int |
L_INTERPOLATED
enum
|
static int |
L_INTERSECTION
enum
|
static int |
L_JP2K_ENCODE
enum
|
static int |
L_JPEG_ENCODE
enum
|
static int |
L_JPEG_FAIL_ON_BAD_DATA
enum
|
static int |
L_JPEG_READ_LUMINANCE
enum
|
static int |
L_LAST_IMAGE
enum
|
static int |
L_LC_ALPHA
enum
|
static int |
L_LC_ROMAN_NUMERALS
enum
|
static int |
L_LESS_THAN_ZERO
enum
|
static int |
L_LINEAR_INTERP
enum
|
static int |
L_LINEAR_SCALE
enum
|
static int |
L_LINEAR_WARP
enum
|
static int |
L_LOG_SCALE
enum
|
static int |
L_LS_BYTE
enum
|
static int |
L_MANHATTAN_DISTANCE
enum
|
static int |
L_MAX_DIFF
enum
|
static int |
L_MAX_DIFF_FROM_AVERAGE_2
enum
|
static int |
L_MAX_MIN_DIFF_FROM_2
enum
|
static int |
L_MEAN_ABSVAL
enum
|
static int |
L_MEDIAN_VAL
enum
|
static int |
L_MIN_DOWNSHIFT
enum
|
static int |
L_MIRRORED_BORDER
enum
|
static int |
L_MODE_COUNT
enum
|
static int |
L_MODE_VAL
enum
|
static int |
L_MORPH_CLOSE
enum
|
static int |
L_MORPH_DILATE
enum
|
static int |
L_MORPH_ERODE
enum
|
static int |
L_MORPH_HMT
enum
|
static int |
L_MORPH_OPEN
enum
|
static int |
L_MS_BYTE
enum
|
static int |
L_NEG_SLOPE_LINE
enum
|
static int |
L_NEXT_IMAGE
enum
|
static int |
L_NO_CHROMA_SAMPLING_JPEG
enum
|
static int |
L_NO_COMPACTION
enum
|
static int |
L_NOT_FOUND
enum
|
static int |
L_OBLIQUE_LINE
enum
|
static int |
L_PAINT_DARK
enum
|
static int |
L_PAINT_LIGHT
enum
|
static int |
L_PLOT_AT_BOT
enum
|
static int |
L_PLOT_AT_LEFT
enum
|
static int |
L_PLOT_AT_MID_HORIZ
enum
|
static int |
L_PLOT_AT_MID_VERT
enum
|
static int |
L_PLOT_AT_RIGHT
enum
|
static int |
L_PLOT_AT_TOP
enum
|
static int |
L_POS_SLOPE_LINE
enum
|
static int |
L_QUADRATIC_INTERP
enum
|
static int |
L_QUADRATIC_WARP
enum
|
static int |
L_REG_COMPARE
enum
|
static int |
L_REG_DISPLAY
enum
|
static int |
L_REG_GENERATE
enum
|
static int |
L_REMOVE
enum
|
static int |
L_REMOVE_SMALL
enum
|
static int |
L_REMOVE_TRAIL_SLASH
enum
|
static int |
L_RO_SC_TR
enum
|
static int |
L_RO_TR_SC
enum
|
static int |
L_ROOT_MEAN_SQUARE
enum
|
static int |
L_ROTATE_AREA_MAP
enum
|
static int |
L_ROTATE_SAMPLING
enum
|
static int |
L_ROTATE_SHEAR
enum
|
static int |
L_RUN_OFF
enum
|
static int |
L_RUN_ON
enum
|
static int |
L_SAMPLED
enum
|
static int |
L_SC_RO_TR
enum
|
static int |
L_SC_TR_RO
enum
|
static int |
L_SCAN_BOTH
enum
|
static int |
L_SCAN_HORIZONTAL
enum
|
static int |
L_SCAN_NEGATIVE
enum
|
static int |
L_SCAN_POSITIVE
enum
|
static int |
L_SCAN_VERTICAL
enum
|
static int |
L_SELECT_AVERAGE
enum
|
static int |
L_SELECT_BLUE
enum
|
static int |
L_SELECT_BOTH
enum
|
static int |
L_SELECT_GREEN
enum
|
static int |
L_SELECT_HEIGHT
enum
|
static int |
L_SELECT_IF_BOTH
enum
|
static int |
L_SELECT_IF_EITHER
enum
|
static int |
L_SELECT_IF_GT
enum
|
static int |
L_SELECT_IF_GTE
enum
|
static int |
L_SELECT_IF_LT
enum
|
static int |
L_SELECT_IF_LTE
enum
|
static int |
L_SELECT_MAX
enum
|
static int |
L_SELECT_MIN
enum
|
static int |
L_SELECT_RED
enum
|
static int |
L_SELECT_SCALED
enum
|
static int |
L_SELECT_UNSCALED
enum
|
static int |
L_SELECT_WIDTH
enum
|
static int |
L_SET_BLACK
enum
|
static int |
L_SET_BOT
enum
|
static int |
L_SET_LEFT
enum
|
static int |
L_SET_PIXELS
enum
|
static int |
L_SET_RIGHT
enum
|
static int |
L_SET_TOP
enum
|
static int |
L_SET_WHITE
enum
|
static int |
L_SEVERITY_ALL
enum
|
static int |
L_SEVERITY_DEBUG
enum
|
static int |
L_SEVERITY_ERROR
enum
|
static int |
L_SEVERITY_EXTERNAL
enum
|
static int |
L_SEVERITY_INFO
enum
|
static int |
L_SEVERITY_NONE
enum
|
static int |
L_SEVERITY_WARNING
enum
|
static int |
L_SHEAR_ABOUT_CENTER
enum
|
static int |
L_SHEAR_ABOUT_CORNER
enum
|
static int |
L_SHELL_SORT
enum
|
static int |
L_SLOPE_BORDER
enum
|
static int |
L_SOBEL_EDGE
enum
|
static int |
L_SORT_BY_AREA
enum
|
static int |
L_SORT_BY_ASPECT_RATIO
enum
|
static int |
L_SORT_BY_BOT
enum
|
static int |
L_SORT_BY_HEIGHT
enum
|
static int |
L_SORT_BY_MAX_DIMENSION
enum
|
static int |
L_SORT_BY_MIN_DIMENSION
enum
|
static int |
L_SORT_BY_PERIMETER
enum
|
static int |
L_SORT_BY_RIGHT
enum
|
static int |
L_SORT_BY_WIDTH
enum
|
static int |
L_SORT_BY_X
enum
|
static int |
L_SORT_BY_Y
enum
|
static int |
L_SORT_DECREASING
enum
|
static int |
L_SORT_INCREASING
enum
|
static int |
L_STANDARD_DEVIATION
enum
|
static int |
L_SUB_ON_BIG_DIFF
enum
|
static int |
L_SUBPIXEL_ORDER_BGR
enum
|
static int |
L_SUBPIXEL_ORDER_RGB
enum
|
static int |
L_SUBPIXEL_ORDER_VBGR
enum
|
static int |
L_SUBPIXEL_ORDER_VRGB
enum
|
static int |
L_SUBTRACTION
enum
|
static int |
L_SUDOKU_INIT
enum
|
static int |
L_SUDOKU_STATE
enum
|
static int |
L_SV_HISTO
enum
|
static int |
L_TAKE_ABSVAL
enum
|
static int |
L_TEXT_ORIENT_DOWN
enum
|
static int |
L_TEXT_ORIENT_LEFT
enum
|
static int |
L_TEXT_ORIENT_RIGHT
enum
|
static int |
L_TEXT_ORIENT_UNKNOWN
enum
|
static int |
L_TEXT_ORIENT_UP
enum
|
static int |
L_THIN_BG
enum
|
static int |
L_THIN_FG
enum
|
static int |
L_TOPHAT_BLACK
enum
|
static int |
L_TOPHAT_WHITE
enum
|
static int |
L_TR_RO_SC
enum
|
static int |
L_TR_SC_RO
enum
|
static int |
L_TWO_SIDED_EDGE
enum
|
static int |
L_UC_ALPHA
enum
|
static int |
L_UC_ROMAN_NUMERALS
enum
|
static int |
L_UNION
enum
|
static int |
L_UNKNOWN
enum
|
static int |
L_USE_ALL
enum
|
static int |
L_USE_AVERAGE
enum
|
static int |
L_USE_MAXSIZE
enum
|
static int |
L_USE_MINSIZE
enum
|
static int |
L_VARIANCE
enum
|
static int |
L_VERT
enum
|
static int |
L_VERTICAL_EDGES
enum
|
static int |
L_VERTICAL_LINE
enum
|
static int |
L_VERTICAL_RUNS
enum
|
static int |
L_WARP_TO_LEFT
enum
|
static int |
L_WARP_TO_RIGHT
enum
|
static int |
L_WHITE_IS_MAX
enum
|
static int |
LIBLEPT_MAJOR_VERSION |
static int |
LIBLEPT_MINOR_VERSION |
static int |
MINIMUM_SEVERITY |
static int |
NULL |
static int |
NUM_GPLOT_OUTPUTS |
static int |
NUM_GPLOT_STYLES |
static int |
NUMA_VERSION_NUMBER |
static int |
PIX_CLR |
static int |
PIX_DST |
static int |
PIX_MASK |
static int |
PIX_PAINT |
static int |
PIX_SET |
static int |
PIX_SRC |
static int |
PIX_SUBTRACT |
static int |
PIX_XOR |
static int |
PIXA_VERSION_NUMBER |
static int |
PIXAA_VERSION_NUMBER |
static int |
PIXACOMP_VERSION_NUMBER |
static int |
PTA_VERSION_NUMBER |
static int |
RECOG_VERSION_NUMBER |
static int |
REMOVE_CMAP_BASED_ON_SRC
enum
|
static int |
REMOVE_CMAP_TO_BINARY
enum
|
static int |
REMOVE_CMAP_TO_FULL_COLOR
enum
|
static int |
REMOVE_CMAP_TO_GRAYSCALE
enum
|
static int |
REMOVE_CMAP_WITH_ALPHA
enum
|
static int |
SARRAY_VERSION_NUMBER |
static int |
SEL_DONT_CARE
enum
|
static int |
SEL_HIT
enum
|
static int |
SEL_MISS
enum
|
static int |
SEL_VERSION_NUMBER |
static int |
SPLIT_ON_BLANK_LINE
enum
|
static int |
SPLIT_ON_BOTH
enum
|
static int |
SPLIT_ON_LEADING_WHITE
enum
|
static int |
SYMMETRIC_MORPH_BC
enum
|
static int |
TIFF_BIGEND_ID
enum
|
static int |
TIFF_LITTLEEND_ID
enum
|
static int |
TRUE |
static int |
UNDEF |
static int |
UNIX_PATH_SEPCHAR
enum
|
static int |
USE_BMPIO |
static int |
USE_INLINE_ACCESSORS |
static int |
USE_JP2KHEADER |
static int |
USE_PDFIO |
static int |
USE_PNMIO |
static int |
USE_PSIO |
static int |
WIN_PATH_SEPCHAR
enum
|
| Constructor and Description |
|---|
lept() |
| Modifier and Type | Method and Description |
|---|---|
static int |
addColorizedGrayToCmap(lept.PIXCMAP cmap,
int type,
int rval,
int gval,
int bval,
lept.NUMA pna) |
static int |
addColorizedGrayToCmap(lept.PIXCMAP cmap,
int type,
int rval,
int gval,
int bval,
PointerPointer pna) |
static int |
ADDED_BORDER() |
static int |
adjacentOnPixelInRaster(lept.PIX pixs,
int x,
int y,
int[] pxa,
int[] pya) |
static int |
adjacentOnPixelInRaster(lept.PIX pixs,
int x,
int y,
IntBuffer pxa,
IntBuffer pya) |
static int |
adjacentOnPixelInRaster(lept.PIX pixs,
int x,
int y,
IntPointer pxa,
IntPointer pya) |
static int |
affineInvertXform(float[] vc,
float[] pvci) |
static int |
affineInvertXform(FloatBuffer vc,
FloatBuffer pvci) |
static int |
affineInvertXform(FloatPointer vc,
FloatPointer pvci) |
static int |
affineInvertXform(FloatPointer vc,
PointerPointer pvci) |
static int |
affineXformPt(float[] vc,
int x,
int y,
float[] pxp,
float[] pyp) |
static int |
affineXformPt(FloatBuffer vc,
int x,
int y,
FloatBuffer pxp,
FloatBuffer pyp) |
static int |
affineXformPt(FloatPointer vc,
int x,
int y,
FloatPointer pxp,
FloatPointer pyp) |
static int |
affineXformSampledPt(float[] vc,
int x,
int y,
int[] pxp,
int[] pyp) |
static int |
affineXformSampledPt(FloatBuffer vc,
int x,
int y,
IntBuffer pxp,
IntBuffer pyp) |
static int |
affineXformSampledPt(FloatPointer vc,
int x,
int y,
IntPointer pxp,
IntPointer pyp) |
static BytePointer |
appendSubdirectory(BytePointer dir,
BytePointer subdir) |
static ByteBuffer |
appendSubdirectory(String dir,
String subdir) |
static int |
applyCubicFit(float a,
float b,
float c,
float d,
float x,
float[] py) |
static int |
applyCubicFit(float a,
float b,
float c,
float d,
float x,
FloatBuffer py) |
static int |
applyCubicFit(float a,
float b,
float c,
float d,
float x,
FloatPointer py) |
static int |
applyLinearFit(float a,
float b,
float x,
float[] py) |
static int |
applyLinearFit(float a,
float b,
float x,
FloatBuffer py) |
static int |
applyLinearFit(float a,
float b,
float x,
FloatPointer py) |
static int |
applyQuadraticFit(float a,
float b,
float c,
float x,
float[] py) |
static int |
applyQuadraticFit(float a,
float b,
float c,
float x,
FloatBuffer py) |
static int |
applyQuadraticFit(float a,
float b,
float c,
float x,
FloatPointer py) |
static int |
applyQuarticFit(float a,
float b,
float c,
float d,
float e,
float x,
float[] py) |
static int |
applyQuarticFit(float a,
float b,
float c,
float d,
float e,
float x,
FloatBuffer py) |
static int |
applyQuarticFit(float a,
float b,
float c,
float d,
float e,
float x,
FloatPointer py) |
static lept.L_DNA |
arrayFindEachSequence(byte[] data,
long datalen,
byte[] sequence,
long seqlen) |
static lept.L_DNA |
arrayFindEachSequence(ByteBuffer data,
long datalen,
ByteBuffer sequence,
long seqlen) |
static lept.L_DNA |
arrayFindEachSequence(BytePointer data,
long datalen,
BytePointer sequence,
long seqlen) |
static int |
arrayFindSequence(byte[] data,
long datalen,
byte[] sequence,
long seqlen,
int[] poffset,
int[] pfound) |
static int |
arrayFindSequence(ByteBuffer data,
long datalen,
ByteBuffer sequence,
long seqlen,
IntBuffer poffset,
IntBuffer pfound) |
static int |
arrayFindSequence(BytePointer data,
long datalen,
BytePointer sequence,
long seqlen,
IntPointer poffset,
IntPointer pfound) |
static byte[] |
barcodeDispatchDecoder(byte[] barstr,
int format,
int debugflag) |
static ByteBuffer |
barcodeDispatchDecoder(ByteBuffer barstr,
int format,
int debugflag) |
static BytePointer |
barcodeDispatchDecoder(BytePointer barstr,
int format,
int debugflag) |
static int |
barcodeFormatIsSupported(int format) |
static int |
bbufferBytesToWrite(lept.BBUFFER bb,
SizeTPointer pnbytes) |
static lept.BBUFFER |
bbufferCreate(byte[] indata,
int nalloc) |
static lept.BBUFFER |
bbufferCreate(ByteBuffer indata,
int nalloc) |
static lept.BBUFFER |
bbufferCreate(BytePointer indata,
int nalloc) |
static void |
bbufferDestroy(lept.BBUFFER pbb) |
static void |
bbufferDestroy(PointerPointer pbb) |
static BytePointer |
bbufferDestroyAndSaveData(lept.BBUFFER pbb,
SizeTPointer pnbytes) |
static BytePointer |
bbufferDestroyAndSaveData(PointerPointer pbb,
SizeTPointer pnbytes) |
static int |
bbufferExtendArray(lept.BBUFFER bb,
int nbytes) |
static int |
bbufferRead(lept.BBUFFER bb,
byte[] src,
int nbytes) |
static int |
bbufferRead(lept.BBUFFER bb,
ByteBuffer src,
int nbytes) |
static int |
bbufferRead(lept.BBUFFER bb,
BytePointer src,
int nbytes) |
static int |
bbufferReadStream(lept.BBUFFER bb,
Pointer fp,
int nbytes) |
static int |
bbufferWrite(lept.BBUFFER bb,
byte[] dest,
long nbytes,
SizeTPointer pnout) |
static int |
bbufferWrite(lept.BBUFFER bb,
ByteBuffer dest,
long nbytes,
SizeTPointer pnout) |
static int |
bbufferWrite(lept.BBUFFER bb,
BytePointer dest,
long nbytes,
SizeTPointer pnout) |
static int |
bbufferWriteStream(lept.BBUFFER bb,
Pointer fp,
long nbytes,
SizeTPointer pnout) |
static int |
bilinearXformPt(float[] vc,
int x,
int y,
float[] pxp,
float[] pyp) |
static int |
bilinearXformPt(FloatBuffer vc,
int x,
int y,
FloatBuffer pxp,
FloatBuffer pyp) |
static int |
bilinearXformPt(FloatPointer vc,
int x,
int y,
FloatPointer pxp,
FloatPointer pyp) |
static int |
bilinearXformSampledPt(float[] vc,
int x,
int y,
int[] pxp,
int[] pyp) |
static int |
bilinearXformSampledPt(FloatBuffer vc,
int x,
int y,
IntBuffer pxp,
IntBuffer pyp) |
static int |
bilinearXformSampledPt(FloatPointer vc,
int x,
int y,
IntPointer pxp,
IntPointer pyp) |
static void |
blockconvAccumLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int d,
int wpls) |
static void |
blockconvAccumLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int d,
int wpls) |
static void |
blockconvAccumLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int d,
int wpls) |
static void |
blockconvLow(int[] data,
int w,
int h,
int wpl,
int[] dataa,
int wpla,
int wc,
int hc) |
static void |
blockconvLow(IntBuffer data,
int w,
int h,
int wpl,
IntBuffer dataa,
int wpla,
int wc,
int hc) |
static void |
blockconvLow(IntPointer data,
int w,
int h,
int wpl,
IntPointer dataa,
int wpla,
int wc,
int hc) |
static void |
blocksumLow(int[] datad,
int w,
int h,
int wpl,
int[] dataa,
int wpla,
int wc,
int hc) |
static void |
blocksumLow(IntBuffer datad,
int w,
int h,
int wpl,
IntBuffer dataa,
int wpla,
int wc,
int hc) |
static void |
blocksumLow(IntPointer datad,
int w,
int h,
int wpl,
IntPointer dataa,
int wpla,
int wc,
int hc) |
static lept.L_BMF |
bmfCreate(BytePointer dir,
int size) |
static lept.L_BMF |
bmfCreate(String dir,
int size) |
static void |
bmfDestroy(lept.L_BMF pbmf) |
static void |
bmfDestroy(PointerPointer pbmf) |
static int |
bmfGetBaseline(lept.L_BMF bmf,
byte chr,
int[] pbaseline) |
static int |
bmfGetBaseline(lept.L_BMF bmf,
byte chr,
IntBuffer pbaseline) |
static int |
bmfGetBaseline(lept.L_BMF bmf,
byte chr,
IntPointer pbaseline) |
static lept.SARRAY |
bmfGetLineStrings(lept.L_BMF bmf,
BytePointer textstr,
int maxw,
int firstindent,
int[] ph) |
static lept.SARRAY |
bmfGetLineStrings(lept.L_BMF bmf,
BytePointer textstr,
int maxw,
int firstindent,
IntBuffer ph) |
static lept.SARRAY |
bmfGetLineStrings(lept.L_BMF bmf,
BytePointer textstr,
int maxw,
int firstindent,
IntPointer ph) |
static lept.SARRAY |
bmfGetLineStrings(lept.L_BMF bmf,
String textstr,
int maxw,
int firstindent,
int[] ph) |
static lept.SARRAY |
bmfGetLineStrings(lept.L_BMF bmf,
String textstr,
int maxw,
int firstindent,
IntBuffer ph) |
static lept.SARRAY |
bmfGetLineStrings(lept.L_BMF bmf,
String textstr,
int maxw,
int firstindent,
IntPointer ph) |
static lept.PIX |
bmfGetPix(lept.L_BMF bmf,
byte chr) |
static int |
bmfGetStringWidth(lept.L_BMF bmf,
BytePointer textstr,
int[] pw) |
static int |
bmfGetStringWidth(lept.L_BMF bmf,
BytePointer textstr,
IntBuffer pw) |
static int |
bmfGetStringWidth(lept.L_BMF bmf,
BytePointer textstr,
IntPointer pw) |
static int |
bmfGetStringWidth(lept.L_BMF bmf,
String textstr,
int[] pw) |
static int |
bmfGetStringWidth(lept.L_BMF bmf,
String textstr,
IntBuffer pw) |
static int |
bmfGetStringWidth(lept.L_BMF bmf,
String textstr,
IntPointer pw) |
static int |
bmfGetWidth(lept.L_BMF bmf,
byte chr,
int[] pw) |
static int |
bmfGetWidth(lept.L_BMF bmf,
byte chr,
IntBuffer pw) |
static int |
bmfGetWidth(lept.L_BMF bmf,
byte chr,
IntPointer pw) |
static lept.NUMA |
bmfGetWordWidths(lept.L_BMF bmf,
BytePointer textstr,
lept.SARRAY sa) |
static lept.NUMA |
bmfGetWordWidths(lept.L_BMF bmf,
String textstr,
lept.SARRAY sa) |
static int |
boxaaAddBox(lept.BOXAA baa,
int index,
lept.BOX box,
int accessflag) |
static int |
boxaaAddBoxa(lept.BOXAA baa,
lept.BOXA ba,
int copyflag) |
static int |
boxaaAlignBox(lept.BOXAA baa,
lept.BOX box,
int delta,
int[] pindex) |
static int |
boxaaAlignBox(lept.BOXAA baa,
lept.BOX box,
int delta,
IntBuffer pindex) |
static int |
boxaaAlignBox(lept.BOXAA baa,
lept.BOX box,
int delta,
IntPointer pindex) |
static lept.BOXAA |
boxaaCopy(lept.BOXAA baas,
int copyflag) |
static lept.BOXAA |
boxaaCreate(int n) |
static int |
boxaAddBox(lept.BOXA boxa,
lept.BOX box,
int copyflag) |
static void |
boxaaDestroy(lept.BOXAA pbaa) |
static void |
boxaaDestroy(PointerPointer pbaa) |
static lept.PIX |
boxaaDisplay(lept.BOXAA baa,
int linewba,
int linewb,
int colorba,
int colorb,
int w,
int h) |
static lept.BOXA |
boxaAdjustHeightToTarget(lept.BOXA boxad,
lept.BOXA boxas,
int sides,
int target,
int thresh) |
static lept.BOXA |
boxaAdjustWidthToTarget(lept.BOXA boxad,
lept.BOXA boxas,
int sides,
int target,
int thresh) |
static int |
boxaaExtendArray(lept.BOXAA baa) |
static int |
boxaaExtendArrayToSize(lept.BOXAA baa,
int size) |
static int |
boxaaExtendWithInit(lept.BOXAA baa,
int maxindex,
lept.BOXA boxa) |
static lept.BOXA |
boxaAffineTransform(lept.BOXA boxas,
float[] mat) |
static lept.BOXA |
boxaAffineTransform(lept.BOXA boxas,
FloatBuffer mat) |
static lept.BOXA |
boxaAffineTransform(lept.BOXA boxas,
FloatPointer mat) |
static lept.BOXA |
boxaaFlattenAligned(lept.BOXAA baa,
int num,
lept.BOX fillerbox,
int copyflag) |
static lept.BOXA |
boxaaFlattenToBoxa(lept.BOXAA baa,
lept.NUMA pnaindex,
int copyflag) |
static lept.BOXA |
boxaaFlattenToBoxa(lept.BOXAA baa,
PointerPointer pnaindex,
int copyflag) |
static lept.BOX |
boxaaGetBox(lept.BOXAA baa,
int iboxa,
int ibox,
int accessflag) |
static lept.BOXA |
boxaaGetBoxa(lept.BOXAA baa,
int index,
int accessflag) |
static int |
boxaaGetBoxCount(lept.BOXAA baa) |
static int |
boxaaGetCount(lept.BOXAA baa) |
static int |
boxaaGetExtent(lept.BOXAA baa,
int[] pw,
int[] ph,
lept.BOX pbox,
lept.BOXA pboxa) |
static int |
boxaaGetExtent(lept.BOXAA baa,
IntBuffer pw,
IntBuffer ph,
lept.BOX pbox,
lept.BOXA pboxa) |
static int |
boxaaGetExtent(lept.BOXAA baa,
IntPointer pw,
IntPointer ph,
lept.BOX pbox,
lept.BOXA pboxa) |
static int |
boxaaGetExtent(lept.BOXAA baa,
IntPointer pw,
IntPointer ph,
PointerPointer pbox,
PointerPointer pboxa) |
static int |
boxaaInitFull(lept.BOXAA baa,
lept.BOXA boxa) |
static int |
boxaaInsertBoxa(lept.BOXAA baa,
int index,
lept.BOXA boxa) |
static int |
boxaaJoin(lept.BOXAA baad,
lept.BOXAA baas,
int istart,
int iend) |
static lept.BOXAA |
boxaaQuadtreeRegions(int w,
int h,
int nlevels) |
static lept.BOXAA |
boxaaRead(BytePointer filename) |
static lept.BOXAA |
boxaaRead(String filename) |
static lept.BOXAA |
boxaaReadFromFiles(BytePointer dirname,
BytePointer substr,
int first,
int nfiles) |
static lept.BOXAA |
boxaaReadFromFiles(String dirname,
String substr,
int first,
int nfiles) |
static lept.BOXAA |
boxaaReadStream(Pointer fp) |
static int |
boxaaRemoveBoxa(lept.BOXAA baa,
int index) |
static int |
boxaaReplaceBoxa(lept.BOXAA baa,
int index,
lept.BOXA boxa) |
static lept.BOXAA |
boxaaSelectRange(lept.BOXAA baas,
int first,
int last,
int copyflag) |
static int |
boxaaSizeRange(lept.BOXAA baa,
int[] pminw,
int[] pminh,
int[] pmaxw,
int[] pmaxh) |
static int |
boxaaSizeRange(lept.BOXAA baa,
IntBuffer pminw,
IntBuffer pminh,
IntBuffer pmaxw,
IntBuffer pmaxh) |
static int |
boxaaSizeRange(lept.BOXAA baa,
IntPointer pminw,
IntPointer pminh,
IntPointer pmaxw,
IntPointer pmaxh) |
static int |
boxaaWrite(BytePointer filename,
lept.BOXAA baa) |
static int |
boxaaWrite(String filename,
lept.BOXAA baa) |
static int |
boxaaWriteStream(Pointer fp,
lept.BOXAA baa) |
static lept.BOXA |
boxaBinSort(lept.BOXA boxas,
int sorttype,
int sortorder,
lept.NUMA pnaindex) |
static lept.BOXA |
boxaBinSort(lept.BOXA boxas,
int sorttype,
int sortorder,
PointerPointer pnaindex) |
static int |
boxaClear(lept.BOXA boxa) |
static lept.BOXA |
boxaClipToBox(lept.BOXA boxas,
lept.BOX box) |
static lept.BOXA |
boxaCombineOverlaps(lept.BOXA boxas) |
static int |
boxaCompareRegions(lept.BOXA boxa1,
lept.BOXA boxa2,
int areathresh,
int[] pnsame,
float[] pdiffarea,
float[] pdiffxor,
lept.PIX ppixdb) |
static int |
boxaCompareRegions(lept.BOXA boxa1,
lept.BOXA boxa2,
int areathresh,
IntBuffer pnsame,
FloatBuffer pdiffarea,
FloatBuffer pdiffxor,
lept.PIX ppixdb) |
static int |
boxaCompareRegions(lept.BOXA boxa1,
lept.BOXA boxa2,
int areathresh,
IntPointer pnsame,
FloatPointer pdiffarea,
FloatPointer pdiffxor,
lept.PIX ppixdb) |
static int |
boxaCompareRegions(lept.BOXA boxa1,
lept.BOXA boxa2,
int areathresh,
IntPointer pnsame,
FloatPointer pdiffarea,
FloatPointer pdiffxor,
PointerPointer ppixdb) |
static lept.BOXA |
boxaConstrainSize(lept.BOXA boxas,
int width,
int widthflag,
int height,
int heightflag) |
static lept.BOXA |
boxaContainedInBox(lept.BOXA boxas,
lept.BOX box) |
static lept.PTA |
boxaConvertToPta(lept.BOXA boxa,
int ncorners) |
static lept.BOXA |
boxaCopy(lept.BOXA boxa,
int copyflag) |
static lept.BOXA |
boxaCreate(int n) |
static void |
boxaDestroy(lept.BOXA pboxa) |
static void |
boxaDestroy(PointerPointer pboxa) |
static lept.PIX |
boxaDisplayTiled(lept.BOXA boxas,
lept.PIXA pixa,
int maxwidth,
int linewidth,
float scalefactor,
int background,
int spacing,
int border,
BytePointer fontdir) |
static lept.PIX |
boxaDisplayTiled(lept.BOXA boxas,
lept.PIXA pixa,
int maxwidth,
int linewidth,
float scalefactor,
int background,
int spacing,
int border,
String fontdir) |
static lept.BOX |
boxAdjustSides(lept.BOX boxd,
lept.BOX boxs,
int delleft,
int delright,
int deltop,
int delbot) |
static lept.BOXAA |
boxaEncapsulateAligned(lept.BOXA boxa,
int num,
int copyflag) |
static int |
boxaEqual(lept.BOXA boxa1,
lept.BOXA boxa2,
int maxdist,
lept.NUMA pnaindex,
int[] psame) |
static int |
boxaEqual(lept.BOXA boxa1,
lept.BOXA boxa2,
int maxdist,
lept.NUMA pnaindex,
IntBuffer psame) |
static int |
boxaEqual(lept.BOXA boxa1,
lept.BOXA boxa2,
int maxdist,
lept.NUMA pnaindex,
IntPointer psame) |
static int |
boxaEqual(lept.BOXA boxa1,
lept.BOXA boxa2,
int maxdist,
PointerPointer pnaindex,
IntPointer psame) |
static int |
boxaExtendArray(lept.BOXA boxa) |
static int |
boxaExtendArrayToSize(lept.BOXA boxa,
int size) |
static int |
boxaExtractAsNuma(lept.BOXA boxa,
lept.NUMA pnax,
lept.NUMA pnay,
lept.NUMA pnaw,
lept.NUMA pnah,
int keepinvalid) |
static int |
boxaExtractAsNuma(lept.BOXA boxa,
PointerPointer pnax,
PointerPointer pnay,
PointerPointer pnaw,
PointerPointer pnah,
int keepinvalid) |
static int |
boxaExtractAsPta(lept.BOXA boxa,
lept.PTA pptal,
lept.PTA pptat,
lept.PTA pptar,
lept.PTA pptab,
int keepinvalid) |
static int |
boxaExtractAsPta(lept.BOXA boxa,
PointerPointer pptal,
PointerPointer pptat,
PointerPointer pptar,
PointerPointer pptab,
int keepinvalid) |
static lept.NUMAA |
boxaExtractSortedPattern(lept.BOXA boxa,
lept.NUMA na) |
static int |
boxaGetArea(lept.BOXA boxa,
int[] parea) |
static int |
boxaGetArea(lept.BOXA boxa,
IntBuffer parea) |
static int |
boxaGetArea(lept.BOXA boxa,
IntPointer parea) |
static int |
boxaGetAverageSize(lept.BOXA boxa,
float[] pw,
float[] ph) |
static int |
boxaGetAverageSize(lept.BOXA boxa,
FloatBuffer pw,
FloatBuffer ph) |
static int |
boxaGetAverageSize(lept.BOXA boxa,
FloatPointer pw,
FloatPointer ph) |
static lept.BOX |
boxaGetBox(lept.BOXA boxa,
int index,
int accessflag) |
static int |
boxaGetBoxGeometry(lept.BOXA boxa,
int index,
int[] px,
int[] py,
int[] pw,
int[] ph) |
static int |
boxaGetBoxGeometry(lept.BOXA boxa,
int index,
IntBuffer px,
IntBuffer py,
IntBuffer pw,
IntBuffer ph) |
static int |
boxaGetBoxGeometry(lept.BOXA boxa,
int index,
IntPointer px,
IntPointer py,
IntPointer pw,
IntPointer ph) |
static int |
boxaGetCount(lept.BOXA boxa) |
static int |
boxaGetCoverage(lept.BOXA boxa,
int wc,
int hc,
int exactflag,
float[] pfract) |
static int |
boxaGetCoverage(lept.BOXA boxa,
int wc,
int hc,
int exactflag,
FloatBuffer pfract) |
static int |
boxaGetCoverage(lept.BOXA boxa,
int wc,
int hc,
int exactflag,
FloatPointer pfract) |
static int |
boxaGetExtent(lept.BOXA boxa,
int[] pw,
int[] ph,
lept.BOX pbox) |
static int |
boxaGetExtent(lept.BOXA boxa,
IntBuffer pw,
IntBuffer ph,
lept.BOX pbox) |
static int |
boxaGetExtent(lept.BOXA boxa,
IntPointer pw,
IntPointer ph,
lept.BOX pbox) |
static int |
boxaGetExtent(lept.BOXA boxa,
IntPointer pw,
IntPointer ph,
PointerPointer pbox) |
static lept.BOX |
boxaGetMedian(lept.BOXA boxa) |
static lept.BOX |
boxaGetNearestToPt(lept.BOXA boxa,
int x,
int y) |
static lept.BOX |
boxaGetRankSize(lept.BOXA boxa,
float fract) |
static lept.BOX |
boxaGetValidBox(lept.BOXA boxa,
int index,
int accessflag) |
static int |
boxaGetValidCount(lept.BOXA boxa) |
static lept.BOXA |
boxaGetWhiteblocks(lept.BOXA boxas,
lept.BOX box,
int sortflag,
int maxboxes,
float maxoverlap,
int maxperim,
float fract,
int maxpops) |
static lept.BOXA |
boxaHandleOverlaps(lept.BOXA boxas,
int op,
int range,
float min_overlap,
float max_ratio,
lept.NUMA pnamap) |
static lept.BOXA |
boxaHandleOverlaps(lept.BOXA boxas,
int op,
int range,
float min_overlap,
float max_ratio,
PointerPointer pnamap) |
static int |
boxaInitFull(lept.BOXA boxa,
lept.BOX box) |
static int |
boxaInsertBox(lept.BOXA boxa,
int index,
lept.BOX box) |
static lept.BOXA |
boxaIntersectsBox(lept.BOXA boxas,
lept.BOX box) |
static int |
boxaIsFull(lept.BOXA boxa,
int[] pfull) |
static int |
boxaIsFull(lept.BOXA boxa,
IntBuffer pfull) |
static int |
boxaIsFull(lept.BOXA boxa,
IntPointer pfull) |
static int |
boxaJoin(lept.BOXA boxad,
lept.BOXA boxas,
int istart,
int iend) |
static lept.BOXA |
boxaLinearFit(lept.BOXA boxas,
float factor,
int debug) |
static int |
boxaLocationRange(lept.BOXA boxa,
int[] pminx,
int[] pminy,
int[] pmaxx,
int[] pmaxy) |
static int |
boxaLocationRange(lept.BOXA boxa,
IntBuffer pminx,
IntBuffer pminy,
IntBuffer pmaxx,
IntBuffer pmaxy) |
static int |
boxaLocationRange(lept.BOXA boxa,
IntPointer pminx,
IntPointer pminy,
IntPointer pmaxx,
IntPointer pmaxy) |
static lept.NUMA |
boxaMakeAreaIndicator(lept.BOXA boxa,
int area,
int relation) |
static lept.NUMA |
boxaMakeSizeIndicator(lept.BOXA boxa,
int width,
int height,
int type,
int relation) |
static lept.BOXA |
boxaMergeEvenOdd(lept.BOXA boxae,
lept.BOXA boxao,
int fillflag) |
static lept.BOXA |
boxaModifyWithBoxa(lept.BOXA boxas,
lept.BOXA boxam,
int subflag,
int maxdiff) |
static lept.BOXA |
boxaPermutePseudorandom(lept.BOXA boxas) |
static lept.BOXA |
boxaPermuteRandom(lept.BOXA boxad,
lept.BOXA boxas) |
static int |
boxaPlotSides(lept.BOXA boxa,
BytePointer plotname,
lept.NUMA pnal,
lept.NUMA pnat,
lept.NUMA pnar,
lept.NUMA pnab,
int outformat) |
static int |
boxaPlotSides(lept.BOXA boxa,
BytePointer plotname,
PointerPointer pnal,
PointerPointer pnat,
PointerPointer pnar,
PointerPointer pnab,
int outformat) |
static int |
boxaPlotSides(lept.BOXA boxa,
String plotname,
lept.NUMA pnal,
lept.NUMA pnat,
lept.NUMA pnar,
lept.NUMA pnab,
int outformat) |
static lept.BOXA |
boxaPruneSortedOnOverlap(lept.BOXA boxas,
float maxoverlap) |
static lept.BOXA |
boxaRead(BytePointer filename) |
static lept.BOXA |
boxaRead(String filename) |
static lept.BOXA |
boxaReadMem(byte[] data,
long size) |
static lept.BOXA |
boxaReadMem(ByteBuffer data,
long size) |
static lept.BOXA |
boxaReadMem(BytePointer data,
long size) |
static lept.BOXA |
boxaReadStream(Pointer fp) |
static lept.BOXA |
boxaReconcileEvenOddHeight(lept.BOXA boxas,
int sides,
int delh,
int op,
float factor) |
static int |
boxaRemoveBox(lept.BOXA boxa,
int index) |
static int |
boxaRemoveBoxAndSave(lept.BOXA boxa,
int index,
lept.BOX pbox) |
static int |
boxaRemoveBoxAndSave(lept.BOXA boxa,
int index,
PointerPointer pbox) |
static int |
boxaReplaceBox(lept.BOXA boxa,
int index,
lept.BOX box) |
static lept.BOXA |
boxaRotate(lept.BOXA boxas,
float xc,
float yc,
float angle) |
static lept.BOXA |
boxaRotateOrth(lept.BOXA boxas,
int w,
int h,
int rotation) |
static lept.BOXA |
boxaSaveValid(lept.BOXA boxas,
int copyflag) |
static lept.BOXA |
boxaScale(lept.BOXA boxas,
float scalex,
float scaley) |
static lept.BOXA |
boxaSelectByArea(lept.BOXA boxas,
int area,
int relation,
int[] pchanged) |
static lept.BOXA |
boxaSelectByArea(lept.BOXA boxas,
int area,
int relation,
IntBuffer pchanged) |
static lept.BOXA |
boxaSelectByArea(lept.BOXA boxas,
int area,
int relation,
IntPointer pchanged) |
static lept.BOXA |
boxaSelectBySize(lept.BOXA boxas,
int width,
int height,
int type,
int relation,
int[] pchanged) |
static lept.BOXA |
boxaSelectBySize(lept.BOXA boxas,
int width,
int height,
int type,
int relation,
IntBuffer pchanged) |
static lept.BOXA |
boxaSelectBySize(lept.BOXA boxas,
int width,
int height,
int type,
int relation,
IntPointer pchanged) |
static lept.BOXA |
boxaSelectRange(lept.BOXA boxas,
int first,
int last,
int copyflag) |
static lept.BOXA |
boxaSelectWithIndicator(lept.BOXA boxas,
lept.NUMA na,
int[] pchanged) |
static lept.BOXA |
boxaSelectWithIndicator(lept.BOXA boxas,
lept.NUMA na,
IntBuffer pchanged) |
static lept.BOXA |
boxaSelectWithIndicator(lept.BOXA boxas,
lept.NUMA na,
IntPointer pchanged) |
static lept.BOXA |
boxaSetSide(lept.BOXA boxad,
lept.BOXA boxas,
int side,
int val,
int thresh) |
static int |
boxaSimilar(lept.BOXA boxa1,
lept.BOXA boxa2,
int leftdiff,
int rightdiff,
int topdiff,
int botdiff,
int debugflag,
int[] psimilar) |
static int |
boxaSimilar(lept.BOXA boxa1,
lept.BOXA boxa2,
int leftdiff,
int rightdiff,
int topdiff,
int botdiff,
int debugflag,
IntBuffer psimilar) |
static int |
boxaSimilar(lept.BOXA boxa1,
lept.BOXA boxa2,
int leftdiff,
int rightdiff,
int topdiff,
int botdiff,
int debugflag,
IntPointer psimilar) |
static int |
boxaSizeRange(lept.BOXA boxa,
int[] pminw,
int[] pminh,
int[] pmaxw,
int[] pmaxh) |
static int |
boxaSizeRange(lept.BOXA boxa,
IntBuffer pminw,
IntBuffer pminh,
IntBuffer pmaxw,
IntBuffer pmaxh) |
static int |
boxaSizeRange(lept.BOXA boxa,
IntPointer pminw,
IntPointer pminh,
IntPointer pmaxw,
IntPointer pmaxh) |
static lept.BOXA |
boxaSmoothSequence(lept.BOXA boxas,
float factor,
int subflag,
int maxdiff,
int debug) |
static lept.BOXA |
boxaSort(lept.BOXA boxas,
int sorttype,
int sortorder,
lept.NUMA pnaindex) |
static lept.BOXA |
boxaSort(lept.BOXA boxas,
int sorttype,
int sortorder,
PointerPointer pnaindex) |
static lept.BOXAA |
boxaSort2d(lept.BOXA boxas,
lept.NUMAA pnaad,
int delta1,
int delta2,
int minh1) |
static lept.BOXAA |
boxaSort2d(lept.BOXA boxas,
PointerPointer pnaad,
int delta1,
int delta2,
int minh1) |
static lept.BOXAA |
boxaSort2dByIndex(lept.BOXA boxas,
lept.NUMAA naa) |
static lept.BOXA |
boxaSortByIndex(lept.BOXA boxas,
lept.NUMA naindex) |
static int |
boxaSplitEvenOdd(lept.BOXA boxa,
int fillflag,
lept.BOXA pboxae,
lept.BOXA pboxao) |
static int |
boxaSplitEvenOdd(lept.BOXA boxa,
int fillflag,
PointerPointer pboxae,
PointerPointer pboxao) |
static int |
boxaSwapBoxes(lept.BOXA boxa,
int i,
int j) |
static lept.BOXA |
boxaTransform(lept.BOXA boxas,
int shiftx,
int shifty,
float scalex,
float scaley) |
static lept.BOXA |
boxaTransformOrdered(lept.BOXA boxas,
int shiftx,
int shifty,
float scalex,
float scaley,
int xcen,
int ycen,
float angle,
int order) |
static lept.BOXA |
boxaTranslate(lept.BOXA boxas,
float transx,
float transy) |
static int |
boxaWrite(BytePointer filename,
lept.BOXA boxa) |
static int |
boxaWrite(String filename,
lept.BOXA boxa) |
static int |
boxaWriteMem(byte[] pdata,
SizeTPointer psize,
lept.BOXA boxa) |
static int |
boxaWriteMem(ByteBuffer pdata,
SizeTPointer psize,
lept.BOXA boxa) |
static int |
boxaWriteMem(BytePointer pdata,
SizeTPointer psize,
lept.BOXA boxa) |
static int |
boxaWriteMem(PointerPointer pdata,
SizeTPointer psize,
lept.BOXA boxa) |
static int |
boxaWriteStream(Pointer fp,
lept.BOXA boxa) |
static lept.BOX |
boxBoundingRegion(lept.BOX box1,
lept.BOX box2) |
static int |
boxChangeRefcount(lept.BOX box,
int delta) |
static lept.BOX |
boxClipToRectangle(lept.BOX box,
int wi,
int hi) |
static int |
boxClipToRectangleParams(lept.BOX box,
int w,
int h,
int[] pxstart,
int[] pystart,
int[] pxend,
int[] pyend,
int[] pbw,
int[] pbh) |
static int |
boxClipToRectangleParams(lept.BOX box,
int w,
int h,
IntBuffer pxstart,
IntBuffer pystart,
IntBuffer pxend,
IntBuffer pyend,
IntBuffer pbw,
IntBuffer pbh) |
static int |
boxClipToRectangleParams(lept.BOX box,
int w,
int h,
IntPointer pxstart,
IntPointer pystart,
IntPointer pxend,
IntPointer pyend,
IntPointer pbw,
IntPointer pbh) |
static lept.BOX |
boxClone(lept.BOX box) |
static int |
boxContains(lept.BOX box1,
lept.BOX box2,
int[] presult) |
static int |
boxContains(lept.BOX box1,
lept.BOX box2,
IntBuffer presult) |
static int |
boxContains(lept.BOX box1,
lept.BOX box2,
IntPointer presult) |
static int |
boxContainsPt(lept.BOX box,
float x,
float y,
int[] pcontains) |
static int |
boxContainsPt(lept.BOX box,
float x,
float y,
IntBuffer pcontains) |
static int |
boxContainsPt(lept.BOX box,
float x,
float y,
IntPointer pcontains) |
static lept.BOX |
boxCopy(lept.BOX box) |
static lept.BOX |
boxCreate(int x,
int y,
int w,
int h) |
static lept.BOX |
boxCreateValid(int x,
int y,
int w,
int h) |
static void |
boxDestroy(lept.BOX pbox) |
static void |
boxDestroy(PointerPointer pbox) |
static int |
boxEqual(lept.BOX box1,
lept.BOX box2,
int[] psame) |
static int |
boxEqual(lept.BOX box1,
lept.BOX box2,
IntBuffer psame) |
static int |
boxEqual(lept.BOX box1,
lept.BOX box2,
IntPointer psame) |
static int |
boxGetCenter(lept.BOX box,
float[] pcx,
float[] pcy) |
static int |
boxGetCenter(lept.BOX box,
FloatBuffer pcx,
FloatBuffer pcy) |
static int |
boxGetCenter(lept.BOX box,
FloatPointer pcx,
FloatPointer pcy) |
static int |
boxGetGeometry(lept.BOX box,
int[] px,
int[] py,
int[] pw,
int[] ph) |
static int |
boxGetGeometry(lept.BOX box,
IntBuffer px,
IntBuffer py,
IntBuffer pw,
IntBuffer ph) |
static int |
boxGetGeometry(lept.BOX box,
IntPointer px,
IntPointer py,
IntPointer pw,
IntPointer ph) |
static int |
boxGetRefcount(lept.BOX box) |
static int |
boxGetSideLocation(lept.BOX box,
int side,
int[] ploc) |
static int |
boxGetSideLocation(lept.BOX box,
int side,
IntBuffer ploc) |
static int |
boxGetSideLocation(lept.BOX box,
int side,
IntPointer ploc) |
static int |
boxIntersectByLine(lept.BOX box,
int x,
int y,
float slope,
int[] px1,
int[] py1,
int[] px2,
int[] py2,
int[] pn) |
static int |
boxIntersectByLine(lept.BOX box,
int x,
int y,
float slope,
IntBuffer px1,
IntBuffer py1,
IntBuffer px2,
IntBuffer py2,
IntBuffer pn) |
static int |
boxIntersectByLine(lept.BOX box,
int x,
int y,
float slope,
IntPointer px1,
IntPointer py1,
IntPointer px2,
IntPointer py2,
IntPointer pn) |
static int |
boxIntersects(lept.BOX box1,
lept.BOX box2,
int[] presult) |
static int |
boxIntersects(lept.BOX box1,
lept.BOX box2,
IntBuffer presult) |
static int |
boxIntersects(lept.BOX box1,
lept.BOX box2,
IntPointer presult) |
static int |
boxIsValid(lept.BOX box,
int[] pvalid) |
static int |
boxIsValid(lept.BOX box,
IntBuffer pvalid) |
static int |
boxIsValid(lept.BOX box,
IntPointer pvalid) |
static int |
boxOverlapArea(lept.BOX box1,
lept.BOX box2,
int[] parea) |
static int |
boxOverlapArea(lept.BOX box1,
lept.BOX box2,
IntBuffer parea) |
static int |
boxOverlapArea(lept.BOX box1,
lept.BOX box2,
IntPointer parea) |
static int |
boxOverlapFraction(lept.BOX box1,
lept.BOX box2,
float[] pfract) |
static int |
boxOverlapFraction(lept.BOX box1,
lept.BOX box2,
FloatBuffer pfract) |
static int |
boxOverlapFraction(lept.BOX box1,
lept.BOX box2,
FloatPointer pfract) |
static lept.BOX |
boxOverlapRegion(lept.BOX box1,
lept.BOX box2) |
static int |
boxPrintStreamInfo(Pointer fp,
lept.BOX box) |
static lept.BOX |
boxRelocateOneSide(lept.BOX boxd,
lept.BOX boxs,
int loc,
int sideflag) |
static lept.BOX |
boxRotateOrth(lept.BOX box,
int w,
int h,
int rotation) |
static int |
boxSeparationDistance(lept.BOX box1,
lept.BOX box2,
int[] ph_sep,
int[] pv_sep) |
static int |
boxSeparationDistance(lept.BOX box1,
lept.BOX box2,
IntBuffer ph_sep,
IntBuffer pv_sep) |
static int |
boxSeparationDistance(lept.BOX box1,
lept.BOX box2,
IntPointer ph_sep,
IntPointer pv_sep) |
static int |
boxSetGeometry(lept.BOX box,
int x,
int y,
int w,
int h) |
static int |
boxSimilar(lept.BOX box1,
lept.BOX box2,
int leftdiff,
int rightdiff,
int topdiff,
int botdiff,
int[] psimilar) |
static int |
boxSimilar(lept.BOX box1,
lept.BOX box2,
int leftdiff,
int rightdiff,
int topdiff,
int botdiff,
IntBuffer psimilar) |
static int |
boxSimilar(lept.BOX box1,
lept.BOX box2,
int leftdiff,
int rightdiff,
int topdiff,
int botdiff,
IntPointer psimilar) |
static lept.BOX |
boxTransform(lept.BOX box,
int shiftx,
int shifty,
float scalex,
float scaley) |
static lept.BOX |
boxTransformOrdered(lept.BOX boxs,
int shiftx,
int shifty,
float scalex,
float scaley,
int xcen,
int ycen,
float angle,
int order) |
static int |
ccbaAddCcb(lept.CCBORDA ccba,
lept.CCBORD ccb) |
static lept.CCBORDA |
ccbaCreate(lept.PIX pixs,
int n) |
static void |
ccbaDestroy(lept.CCBORDA pccba) |
static void |
ccbaDestroy(PointerPointer pccba) |
static lept.PIX |
ccbaDisplayBorder(lept.CCBORDA ccba) |
static lept.PIX |
ccbaDisplayImage1(lept.CCBORDA ccba) |
static lept.PIX |
ccbaDisplayImage2(lept.CCBORDA ccba) |
static lept.PIX |
ccbaDisplaySPBorder(lept.CCBORDA ccba) |
static int |
ccbaGenerateGlobalLocs(lept.CCBORDA ccba) |
static int |
ccbaGenerateSinglePath(lept.CCBORDA ccba) |
static int |
ccbaGenerateSPGlobalLocs(lept.CCBORDA ccba,
int ptsflag) |
static int |
ccbaGenerateStepChains(lept.CCBORDA ccba) |
static lept.CCBORD |
ccbaGetCcb(lept.CCBORDA ccba,
int index) |
static int |
ccbaGetCount(lept.CCBORDA ccba) |
static lept.CCBORDA |
ccbaRead(BytePointer filename) |
static lept.CCBORDA |
ccbaRead(String filename) |
static lept.CCBORDA |
ccbaReadStream(Pointer fp) |
static int |
ccbaStepChainsToPixCoords(lept.CCBORDA ccba,
int coordtype) |
static int |
ccbaWrite(BytePointer filename,
lept.CCBORDA ccba) |
static int |
ccbaWrite(String filename,
lept.CCBORDA ccba) |
static int |
ccbaWriteStream(Pointer fp,
lept.CCBORDA ccba) |
static int |
ccbaWriteSVG(BytePointer filename,
lept.CCBORDA ccba) |
static int |
ccbaWriteSVG(String filename,
lept.CCBORDA ccba) |
static BytePointer |
ccbaWriteSVGString(BytePointer filename,
lept.CCBORDA ccba) |
static ByteBuffer |
ccbaWriteSVGString(String filename,
lept.CCBORDA ccba) |
static lept.CCBORD |
ccbCreate(lept.PIX pixs) |
static void |
ccbDestroy(lept.CCBORD pccb) |
static void |
ccbDestroy(PointerPointer pccb) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
cidConvertToPdfData(lept.L_COMP_DATA cid,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
composeRGBAPixel(int rval,
int gval,
int bval,
int aval,
int[] ppixel) |
static int |
composeRGBAPixel(int rval,
int gval,
int bval,
int aval,
IntBuffer ppixel) |
static int |
composeRGBAPixel(int rval,
int gval,
int bval,
int aval,
IntPointer ppixel) |
static int |
composeRGBPixel(int rval,
int gval,
int bval,
int[] ppixel) |
static int |
composeRGBPixel(int rval,
int gval,
int bval,
IntBuffer ppixel) |
static int |
composeRGBPixel(int rval,
int gval,
int bval,
IntPointer ppixel) |
static int |
concatenatePdf(BytePointer dirname,
BytePointer substr,
BytePointer fileout) |
static int |
concatenatePdf(String dirname,
String substr,
String fileout) |
static int |
concatenatePdfToData(BytePointer dirname,
BytePointer substr,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
concatenatePdfToData(BytePointer dirname,
BytePointer substr,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
concatenatePdfToData(BytePointer dirname,
BytePointer substr,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
concatenatePdfToData(BytePointer dirname,
BytePointer substr,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
concatenatePdfToData(String dirname,
String substr,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
concatenatePdfToData(String dirname,
String substr,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
concatenatePdfToData(String dirname,
String substr,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
convertBinaryToGrayCode(int val) |
static void |
convertByteToHexAscii(byte byteval,
byte[] pnib1,
byte[] pnib2) |
static void |
convertByteToHexAscii(byte byteval,
ByteBuffer pnib1,
ByteBuffer pnib2) |
static void |
convertByteToHexAscii(byte byteval,
BytePointer pnib1,
BytePointer pnib2) |
static int |
convertFilesFittedToPS(BytePointer dirin,
BytePointer substr,
float xpts,
float ypts,
BytePointer fileout) |
static int |
convertFilesFittedToPS(String dirin,
String substr,
float xpts,
float ypts,
String fileout) |
static int |
convertFilesTo1bpp(BytePointer dirin,
BytePointer substr,
int upscaling,
int thresh,
int firstpage,
int npages,
BytePointer dirout,
int outformat) |
static int |
convertFilesTo1bpp(String dirin,
String substr,
int upscaling,
int thresh,
int firstpage,
int npages,
String dirout,
int outformat) |
static int |
convertFilesToPdf(BytePointer dirname,
BytePointer substr,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer fileout) |
static int |
convertFilesToPdf(String dirname,
String substr,
int res,
float scalefactor,
int type,
int quality,
String title,
String fileout) |
static int |
convertFilesToPS(BytePointer dirin,
BytePointer substr,
int res,
BytePointer fileout) |
static int |
convertFilesToPS(String dirin,
String substr,
int res,
String fileout) |
static int |
convertFlateToPS(BytePointer filein,
BytePointer fileout,
BytePointer operation,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPS(String filein,
String fileout,
String operation,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSEmbed(BytePointer filein,
BytePointer fileout) |
static int |
convertFlateToPSEmbed(String filein,
String fileout) |
static int |
convertFlateToPSString(BytePointer filein,
byte[] poutstr,
int[] pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSString(BytePointer filein,
ByteBuffer poutstr,
IntBuffer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSString(BytePointer filein,
BytePointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSString(BytePointer filein,
PointerPointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSString(String filein,
byte[] poutstr,
int[] pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSString(String filein,
ByteBuffer poutstr,
IntBuffer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertFlateToPSString(String filein,
BytePointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertG4ToPS(BytePointer filein,
BytePointer fileout,
BytePointer operation,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPS(String filein,
String fileout,
String operation,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSEmbed(BytePointer filein,
BytePointer fileout) |
static int |
convertG4ToPSEmbed(String filein,
String fileout) |
static int |
convertG4ToPSString(BytePointer filein,
byte[] poutstr,
int[] pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSString(BytePointer filein,
ByteBuffer poutstr,
IntBuffer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSString(BytePointer filein,
BytePointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSString(BytePointer filein,
PointerPointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSString(String filein,
byte[] poutstr,
int[] pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSString(String filein,
ByteBuffer poutstr,
IntBuffer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertG4ToPSString(String filein,
BytePointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int maskflag,
int endpage) |
static int |
convertGrayCodeToBinary(int val) |
static int |
convertHSVToRGB(int hval,
int sval,
int vval,
int[] prval,
int[] pgval,
int[] pbval) |
static int |
convertHSVToRGB(int hval,
int sval,
int vval,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static int |
convertHSVToRGB(int hval,
int sval,
int vval,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static int |
convertImageDataToPdf(byte[] imdata,
long size,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdf(byte[] imdata,
long size,
int type,
int quality,
String fileout,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdf(ByteBuffer imdata,
long size,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdf(ByteBuffer imdata,
long size,
int type,
int quality,
String fileout,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdf(BytePointer imdata,
long size,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdf(BytePointer imdata,
long size,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
PointerPointer plpd,
int position) |
static int |
convertImageDataToPdf(BytePointer imdata,
long size,
int type,
int quality,
String fileout,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(byte[] imdata,
long size,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(byte[] imdata,
long size,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(ByteBuffer imdata,
long size,
int type,
int quality,
ByteBuffer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(ByteBuffer imdata,
long size,
int type,
int quality,
ByteBuffer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(BytePointer imdata,
long size,
int type,
int quality,
BytePointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(BytePointer imdata,
long size,
int type,
int quality,
BytePointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertImageDataToPdfData(BytePointer imdata,
long size,
int type,
int quality,
PointerPointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
PointerPointer plpd,
int position) |
static int |
convertJpegToPS(BytePointer filein,
BytePointer fileout,
BytePointer operation,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPS(String filein,
String fileout,
String operation,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSEmbed(BytePointer filein,
BytePointer fileout) |
static int |
convertJpegToPSEmbed(String filein,
String fileout) |
static int |
convertJpegToPSString(BytePointer filein,
byte[] poutstr,
int[] pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSString(BytePointer filein,
ByteBuffer poutstr,
IntBuffer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSString(BytePointer filein,
BytePointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSString(BytePointer filein,
PointerPointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSString(String filein,
byte[] poutstr,
int[] pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSString(String filein,
ByteBuffer poutstr,
IntBuffer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static int |
convertJpegToPSString(String filein,
BytePointer poutstr,
IntPointer pnbytes,
int x,
int y,
int res,
float scale,
int pageno,
int endpage) |
static lept.BOXAA |
convertNumberedMasksToBoxaa(BytePointer dirname,
BytePointer substr,
int numpre,
int numpost) |
static lept.BOXAA |
convertNumberedMasksToBoxaa(String dirname,
String substr,
int numpre,
int numpost) |
static short |
convertOnBigEnd16(short shortin) |
static int |
convertOnBigEnd32(int wordin) |
static short |
convertOnLittleEnd16(short shortin) |
static int |
convertOnLittleEnd32(int wordin) |
static lept.PTA |
convertPtaLineTo4cc(lept.PTA ptas) |
static int |
convertRGBToHSV(int rval,
int gval,
int bval,
int[] phval,
int[] psval,
int[] pvval) |
static int |
convertRGBToHSV(int rval,
int gval,
int bval,
IntBuffer phval,
IntBuffer psval,
IntBuffer pvval) |
static int |
convertRGBToHSV(int rval,
int gval,
int bval,
IntPointer phval,
IntPointer psval,
IntPointer pvval) |
static int |
convertRGBToYUV(int rval,
int gval,
int bval,
int[] pyval,
int[] puval,
int[] pvval) |
static int |
convertRGBToYUV(int rval,
int gval,
int bval,
IntBuffer pyval,
IntBuffer puval,
IntBuffer pvval) |
static int |
convertRGBToYUV(int rval,
int gval,
int bval,
IntPointer pyval,
IntPointer puval,
IntPointer pvval) |
static int |
convertSegmentedFilesToPdf(BytePointer dirname,
BytePointer substr,
int res,
int type,
int thresh,
lept.BOXAA baa,
int quality,
float scalefactor,
BytePointer title,
BytePointer fileout) |
static int |
convertSegmentedFilesToPdf(String dirname,
String substr,
int res,
int type,
int thresh,
lept.BOXAA baa,
int quality,
float scalefactor,
String title,
String fileout) |
static int |
convertSegmentedPagesToPS(BytePointer pagedir,
BytePointer pagestr,
int page_numpre,
BytePointer maskdir,
BytePointer maskstr,
int mask_numpre,
int numpost,
int maxnum,
float textscale,
float imagescale,
int threshold,
BytePointer fileout) |
static int |
convertSegmentedPagesToPS(String pagedir,
String pagestr,
int page_numpre,
String maskdir,
String maskstr,
int mask_numpre,
int numpost,
int maxnum,
float textscale,
float imagescale,
int threshold,
String fileout) |
static int |
convertSepCharsInPath(byte[] path,
int type) |
static int |
convertSepCharsInPath(ByteBuffer path,
int type) |
static int |
convertSepCharsInPath(BytePointer path,
int type) |
static lept.SARRAY |
convertSortedToNumberedPathnames(lept.SARRAY sa,
int numpre,
int numpost,
int maxnum) |
static int |
convertTiffMultipageToPS(BytePointer filein,
BytePointer fileout,
BytePointer tempfile,
float fillfract) |
static int |
convertTiffMultipageToPS(String filein,
String fileout,
String tempfile,
float fillfract) |
static int |
convertToNUpFiles(BytePointer dir,
BytePointer substr,
int nx,
int ny,
int tw,
int spacing,
int border,
BytePointer fontdir,
BytePointer outdir) |
static int |
convertToNUpFiles(String dir,
String substr,
int nx,
int ny,
int tw,
int spacing,
int border,
String fontdir,
String outdir) |
static lept.PIXA |
convertToNUpPixa(BytePointer dir,
BytePointer substr,
int nx,
int ny,
int tw,
int spacing,
int border,
BytePointer fontdir) |
static lept.PIXA |
convertToNUpPixa(String dir,
String substr,
int nx,
int ny,
int tw,
int spacing,
int border,
String fontdir) |
static int |
convertToPdf(BytePointer filein,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdf(BytePointer filein,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
PointerPointer plpd,
int position) |
static int |
convertToPdf(String filein,
int type,
int quality,
String fileout,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfData(BytePointer filein,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfData(BytePointer filein,
int type,
int quality,
ByteBuffer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfData(BytePointer filein,
int type,
int quality,
BytePointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfData(BytePointer filein,
int type,
int quality,
PointerPointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
PointerPointer plpd,
int position) |
static int |
convertToPdfData(String filein,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfData(String filein,
int type,
int quality,
ByteBuffer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfData(String filein,
int type,
int quality,
BytePointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
convertToPdfDataSegmented(BytePointer filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfDataSegmented(BytePointer filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfDataSegmented(BytePointer filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfDataSegmented(BytePointer filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfDataSegmented(String filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfDataSegmented(String filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfDataSegmented(String filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
convertToPdfSegmented(BytePointer filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
BytePointer fileout) |
static int |
convertToPdfSegmented(String filein,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
String fileout) |
static int |
convertToPSEmbed(BytePointer filein,
BytePointer fileout,
int level) |
static int |
convertToPSEmbed(String filein,
String fileout,
int level) |
static int |
convertUnscaledFilesToPdf(BytePointer dirname,
BytePointer substr,
BytePointer title,
BytePointer fileout) |
static int |
convertUnscaledFilesToPdf(String dirname,
String substr,
String title,
String fileout) |
static int |
convertUnscaledToPdfData(BytePointer fname,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
convertUnscaledToPdfData(BytePointer fname,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
convertUnscaledToPdfData(BytePointer fname,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
convertUnscaledToPdfData(BytePointer fname,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
convertUnscaledToPdfData(String fname,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
convertUnscaledToPdfData(String fname,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
convertUnscaledToPdfData(String fname,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
convertYUVToRGB(int yval,
int uval,
int vval,
int[] prval,
int[] pgval,
int[] pbval) |
static int |
convertYUVToRGB(int yval,
int uval,
int vval,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static int |
convertYUVToRGB(int yval,
int uval,
int vval,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static PointerPointer |
create2dFloatArray(int sy,
int sx) |
static PointerPointer |
create2dIntArray(int sy,
int sx) |
static FloatPointer |
createMatrix2dRotate(float xc,
float yc,
float angle) |
static FloatPointer |
createMatrix2dScale(float scalex,
float scaley) |
static FloatPointer |
createMatrix2dTranslate(float transx,
float transy) |
static byte[] |
decodeAscii85(byte[] ina,
int insize,
int[] poutsize) |
static ByteBuffer |
decodeAscii85(ByteBuffer ina,
int insize,
IntBuffer poutsize) |
static BytePointer |
decodeAscii85(BytePointer ina,
int insize,
IntPointer poutsize) |
static int |
dewarpaApplyDisparity(lept.L_DEWARPA dewa,
int pageno,
lept.PIX pixs,
int grayin,
int x,
int y,
lept.PIX ppixd,
BytePointer debugfile) |
static int |
dewarpaApplyDisparity(lept.L_DEWARPA dewa,
int pageno,
lept.PIX pixs,
int grayin,
int x,
int y,
lept.PIX ppixd,
String debugfile) |
static int |
dewarpaApplyDisparity(lept.L_DEWARPA dewa,
int pageno,
lept.PIX pixs,
int grayin,
int x,
int y,
PointerPointer ppixd,
BytePointer debugfile) |
static lept.L_DEWARPA |
dewarpaCreate(int nptrs,
int sampling,
int redfactor,
int minlines,
int maxdist) |
static lept.L_DEWARPA |
dewarpaCreateFromPixacomp(lept.PIXAC pixac,
int useboth,
int sampling,
int minlines,
int maxdist) |
static void |
dewarpaDestroy(lept.L_DEWARPA pdewa) |
static void |
dewarpaDestroy(PointerPointer pdewa) |
static int |
dewarpaDestroyDewarp(lept.L_DEWARPA dewa,
int pageno) |
static lept.L_DEWARP |
dewarpaGetDewarp(lept.L_DEWARPA dewa,
int index) |
static int |
dewarpaInfo(Pointer fp,
lept.L_DEWARPA dewa) |
static int |
dewarpaInsertDewarp(lept.L_DEWARPA dewa,
lept.L_DEWARP dew) |
static int |
dewarpaInsertRefModels(lept.L_DEWARPA dewa,
int notests,
int debug) |
static int |
dewarpaListPages(lept.L_DEWARPA dewa) |
static int |
dewarpaModelStats(lept.L_DEWARPA dewa,
int[] pnnone,
int[] pnvsuccess,
int[] pnvvalid,
int[] pnhsuccess,
int[] pnhvalid,
int[] pnref) |
static int |
dewarpaModelStats(lept.L_DEWARPA dewa,
IntBuffer pnnone,
IntBuffer pnvsuccess,
IntBuffer pnvvalid,
IntBuffer pnhsuccess,
IntBuffer pnhvalid,
IntBuffer pnref) |
static int |
dewarpaModelStats(lept.L_DEWARPA dewa,
IntPointer pnnone,
IntPointer pnvsuccess,
IntPointer pnvvalid,
IntPointer pnhsuccess,
IntPointer pnhvalid,
IntPointer pnref) |
static int |
dewarpaModelStatus(lept.L_DEWARPA dewa,
int pageno,
int[] pvsuccess,
int[] phsuccess) |
static int |
dewarpaModelStatus(lept.L_DEWARPA dewa,
int pageno,
IntBuffer pvsuccess,
IntBuffer phsuccess) |
static int |
dewarpaModelStatus(lept.L_DEWARPA dewa,
int pageno,
IntPointer pvsuccess,
IntPointer phsuccess) |
static lept.L_DEWARPA |
dewarpaRead(BytePointer filename) |
static lept.L_DEWARPA |
dewarpaRead(String filename) |
static lept.L_DEWARPA |
dewarpaReadStream(Pointer fp) |
static int |
dewarpaRestoreModels(lept.L_DEWARPA dewa) |
static int |
dewarpaSetCurvatures(lept.L_DEWARPA dewa,
int max_linecurv,
int min_diff_linecurv,
int max_diff_linecurv,
int max_edgecurv,
int max_diff_edgecurv,
int max_edgeslope) |
static int |
dewarpaSetMaxDistance(lept.L_DEWARPA dewa,
int maxdist) |
static int |
dewarpaSetValidModels(lept.L_DEWARPA dewa,
int notests,
int debug) |
static int |
dewarpaShowArrays(lept.L_DEWARPA dewa,
float scalefact,
int first,
int last,
BytePointer fontdir) |
static int |
dewarpaShowArrays(lept.L_DEWARPA dewa,
float scalefact,
int first,
int last,
String fontdir) |
static int |
dewarpaStripRefModels(lept.L_DEWARPA dewa) |
static int |
dewarpaUseBothArrays(lept.L_DEWARPA dewa,
int useboth) |
static int |
dewarpaWrite(BytePointer filename,
lept.L_DEWARPA dewa) |
static int |
dewarpaWrite(String filename,
lept.L_DEWARPA dewa) |
static int |
dewarpaWriteStream(Pointer fp,
lept.L_DEWARPA dewa) |
static int |
dewarpBuildLineModel(lept.L_DEWARP dew,
int opensize,
BytePointer debugfile) |
static int |
dewarpBuildLineModel(lept.L_DEWARP dew,
int opensize,
String debugfile) |
static int |
dewarpBuildPageModel(lept.L_DEWARP dew,
BytePointer debugfile) |
static int |
dewarpBuildPageModel(lept.L_DEWARP dew,
String debugfile) |
static lept.L_DEWARP |
dewarpCreate(lept.PIX pixs,
int pageno) |
static lept.L_DEWARP |
dewarpCreateRef(int pageno,
int refpage) |
static int |
dewarpDebug(lept.L_DEWARP dew,
BytePointer subdir,
int index) |
static int |
dewarpDebug(lept.L_DEWARP dew,
String subdir,
int index) |
static void |
dewarpDestroy(lept.L_DEWARP pdew) |
static void |
dewarpDestroy(PointerPointer pdew) |
static int |
dewarpFindHorizDisparity(lept.L_DEWARP dew,
lept.PTAA ptaa) |
static int |
dewarpFindVertDisparity(lept.L_DEWARP dew,
lept.PTAA ptaa,
int rotflag) |
static lept.PTAA |
dewarpGetTextlineCenters(lept.PIX pixs,
int debugflag) |
static int |
dewarpMinimize(lept.L_DEWARP dew) |
static int |
dewarpPopulateFullRes(lept.L_DEWARP dew,
lept.PIX pix,
int x,
int y) |
static lept.L_DEWARP |
dewarpRead(BytePointer filename) |
static lept.L_DEWARP |
dewarpRead(String filename) |
static lept.L_DEWARP |
dewarpReadStream(Pointer fp) |
static lept.PTAA |
dewarpRemoveShortLines(lept.PIX pixs,
lept.PTAA ptaas,
float fract,
int debugflag) |
static int |
dewarpShowResults(lept.L_DEWARPA dewa,
lept.SARRAY sa,
lept.BOXA boxa,
int firstpage,
int lastpage,
BytePointer fontdir,
BytePointer pdfout) |
static int |
dewarpShowResults(lept.L_DEWARPA dewa,
lept.SARRAY sa,
lept.BOXA boxa,
int firstpage,
int lastpage,
String fontdir,
String pdfout) |
static int |
dewarpSinglePage(lept.PIX pixs,
int thresh,
int adaptive,
int use_both,
lept.PIX ppixd,
lept.L_DEWARPA pdewa,
int debug) |
static int |
dewarpSinglePage(lept.PIX pixs,
int thresh,
int adaptive,
int use_both,
PointerPointer ppixd,
PointerPointer pdewa,
int debug) |
static int |
dewarpWrite(BytePointer filename,
lept.L_DEWARP dew) |
static int |
dewarpWrite(String filename,
lept.L_DEWARP dew) |
static int |
dewarpWriteStream(Pointer fp,
lept.L_DEWARP dew) |
static void |
dilateGrayLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int size,
int direction,
byte[] buffer,
byte[] maxarray) |
static void |
dilateGrayLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
int size,
int direction,
ByteBuffer buffer,
ByteBuffer maxarray) |
static void |
dilateGrayLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
int size,
int direction,
BytePointer buffer,
BytePointer maxarray) |
static lept.PIX |
displayHSVColorRange(int hval,
int sval,
int vval,
int huehw,
int sathw,
int nsamp,
int factor) |
static void |
distanceFunctionLow(int[] datad,
int w,
int h,
int d,
int wpld,
int connectivity) |
static void |
distanceFunctionLow(IntBuffer datad,
int w,
int h,
int d,
int wpld,
int connectivity) |
static void |
distanceFunctionLow(IntPointer datad,
int w,
int h,
int d,
int wpld,
int connectivity) |
static void |
ditherTo2bppLineLow(int[] lined,
int w,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14,
int lastlineflag) |
static void |
ditherTo2bppLineLow(IntBuffer lined,
int w,
IntBuffer bufs1,
IntBuffer bufs2,
IntBuffer tabval,
IntBuffer tab38,
IntBuffer tab14,
int lastlineflag) |
static void |
ditherTo2bppLineLow(IntPointer lined,
int w,
IntPointer bufs1,
IntPointer bufs2,
IntPointer tabval,
IntPointer tab38,
IntPointer tab14,
int lastlineflag) |
static void |
ditherTo2bppLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14) |
static void |
ditherTo2bppLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer bufs1,
IntBuffer bufs2,
IntBuffer tabval,
IntBuffer tab38,
IntBuffer tab14) |
static void |
ditherTo2bppLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
IntPointer bufs1,
IntPointer bufs2,
IntPointer tabval,
IntPointer tab38,
IntPointer tab14) |
static void |
ditherToBinaryLineLow(int[] lined,
int w,
int[] bufs1,
int[] bufs2,
int lowerclip,
int upperclip,
int lastlineflag) |
static void |
ditherToBinaryLineLow(IntBuffer lined,
int w,
IntBuffer bufs1,
IntBuffer bufs2,
int lowerclip,
int upperclip,
int lastlineflag) |
static void |
ditherToBinaryLineLow(IntPointer lined,
int w,
IntPointer bufs1,
IntPointer bufs2,
int lowerclip,
int upperclip,
int lastlineflag) |
static void |
ditherToBinaryLineLUTLow(int[] lined,
int w,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14,
int lastlineflag) |
static void |
ditherToBinaryLineLUTLow(IntBuffer lined,
int w,
IntBuffer bufs1,
IntBuffer bufs2,
IntBuffer tabval,
IntBuffer tab38,
IntBuffer tab14,
int lastlineflag) |
static void |
ditherToBinaryLineLUTLow(IntPointer lined,
int w,
IntPointer bufs1,
IntPointer bufs2,
IntPointer tabval,
IntPointer tab38,
IntPointer tab14,
int lastlineflag) |
static void |
ditherToBinaryLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int[] bufs1,
int[] bufs2,
int lowerclip,
int upperclip) |
static void |
ditherToBinaryLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer bufs1,
IntBuffer bufs2,
int lowerclip,
int upperclip) |
static void |
ditherToBinaryLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
IntPointer bufs1,
IntPointer bufs2,
int lowerclip,
int upperclip) |
static void |
ditherToBinaryLUTLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14) |
static void |
ditherToBinaryLUTLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer bufs1,
IntBuffer bufs2,
IntBuffer tabval,
IntBuffer tab38,
IntBuffer tab14) |
static void |
ditherToBinaryLUTLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
IntPointer bufs1,
IntPointer bufs2,
IntPointer tabval,
IntPointer tab38,
IntPointer tab14) |
static int |
dpixAddMultConstant(lept.DPIX dpix,
double addc,
double multc) |
static int |
dpixChangeRefcount(lept.DPIX dpix,
int delta) |
static lept.DPIX |
dpixClone(lept.DPIX dpix) |
static lept.FPIX |
dpixConvertToFPix(lept.DPIX dpix) |
static lept.PIX |
dpixConvertToPix(lept.DPIX dpixs,
int outdepth,
int negvals,
int errorflag) |
static lept.DPIX |
dpixCopy(lept.DPIX dpixd,
lept.DPIX dpixs) |
static int |
dpixCopyResolution(lept.DPIX dpixd,
lept.DPIX dpixs) |
static lept.DPIX |
dpixCreate(int width,
int height) |
static lept.DPIX |
dpixCreateTemplate(lept.DPIX dpixs) |
static void |
dpixDestroy(lept.DPIX pdpix) |
static void |
dpixDestroy(PointerPointer pdpix) |
static lept.DPIX |
dpixEndianByteSwap(lept.DPIX dpixd,
lept.DPIX dpixs) |
static DoublePointer |
dpixGetData(lept.DPIX dpix) |
static int |
dpixGetDimensions(lept.DPIX dpix,
int[] pw,
int[] ph) |
static int |
dpixGetDimensions(lept.DPIX dpix,
IntBuffer pw,
IntBuffer ph) |
static int |
dpixGetDimensions(lept.DPIX dpix,
IntPointer pw,
IntPointer ph) |
static int |
dpixGetMax(lept.DPIX dpix,
double[] pmaxval,
int[] pxmaxloc,
int[] pymaxloc) |
static int |
dpixGetMax(lept.DPIX dpix,
DoubleBuffer pmaxval,
IntBuffer pxmaxloc,
IntBuffer pymaxloc) |
static int |
dpixGetMax(lept.DPIX dpix,
DoublePointer pmaxval,
IntPointer pxmaxloc,
IntPointer pymaxloc) |
static int |
dpixGetMin(lept.DPIX dpix,
double[] pminval,
int[] pxminloc,
int[] pyminloc) |
static int |
dpixGetMin(lept.DPIX dpix,
DoubleBuffer pminval,
IntBuffer pxminloc,
IntBuffer pyminloc) |
static int |
dpixGetMin(lept.DPIX dpix,
DoublePointer pminval,
IntPointer pxminloc,
IntPointer pyminloc) |
static int |
dpixGetPixel(lept.DPIX dpix,
int x,
int y,
double[] pval) |
static int |
dpixGetPixel(lept.DPIX dpix,
int x,
int y,
DoubleBuffer pval) |
static int |
dpixGetPixel(lept.DPIX dpix,
int x,
int y,
DoublePointer pval) |
static int |
dpixGetRefcount(lept.DPIX dpix) |
static int |
dpixGetResolution(lept.DPIX dpix,
int[] pxres,
int[] pyres) |
static int |
dpixGetResolution(lept.DPIX dpix,
IntBuffer pxres,
IntBuffer pyres) |
static int |
dpixGetResolution(lept.DPIX dpix,
IntPointer pxres,
IntPointer pyres) |
static int |
dpixGetWpl(lept.DPIX dpix) |
static lept.DPIX |
dpixLinearCombination(lept.DPIX dpixd,
lept.DPIX dpixs1,
lept.DPIX dpixs2,
float a,
float b) |
static lept.DPIX |
dpixRead(BytePointer filename) |
static lept.DPIX |
dpixRead(String filename) |
static lept.DPIX |
dpixReadStream(Pointer fp) |
static int |
dpixResizeImageData(lept.DPIX dpixd,
lept.DPIX dpixs) |
static lept.DPIX |
dpixScaleByInteger(lept.DPIX dpixs,
int factor) |
static int |
dpixSetAllArbitrary(lept.DPIX dpix,
double inval) |
static int |
dpixSetData(lept.DPIX dpix,
double[] data) |
static int |
dpixSetData(lept.DPIX dpix,
DoubleBuffer data) |
static int |
dpixSetData(lept.DPIX dpix,
DoublePointer data) |
static int |
dpixSetDimensions(lept.DPIX dpix,
int w,
int h) |
static int |
dpixSetPixel(lept.DPIX dpix,
int x,
int y,
double val) |
static int |
dpixSetResolution(lept.DPIX dpix,
int xres,
int yres) |
static int |
dpixSetWpl(lept.DPIX dpix,
int wpl) |
static int |
dpixWrite(BytePointer filename,
lept.DPIX dpix) |
static int |
dpixWrite(String filename,
lept.DPIX dpix) |
static int |
dpixWriteStream(Pointer fp,
lept.DPIX dpix) |
static byte[] |
encodeAscii85(byte[] inarray,
int insize,
int[] poutsize) |
static ByteBuffer |
encodeAscii85(ByteBuffer inarray,
int insize,
IntBuffer poutsize) |
static BytePointer |
encodeAscii85(BytePointer inarray,
int insize,
IntPointer poutsize) |
static void |
erodeGrayLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int size,
int direction,
byte[] buffer,
byte[] minarray) |
static void |
erodeGrayLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
int size,
int direction,
ByteBuffer buffer,
ByteBuffer minarray) |
static void |
erodeGrayLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
int size,
int direction,
BytePointer buffer,
BytePointer minarray) |
static int |
extractG4DataFromFile(BytePointer filein,
byte[] pdata,
SizeTPointer pnbytes,
int[] pw,
int[] ph,
int[] pminisblack) |
static int |
extractG4DataFromFile(BytePointer filein,
ByteBuffer pdata,
SizeTPointer pnbytes,
IntBuffer pw,
IntBuffer ph,
IntBuffer pminisblack) |
static int |
extractG4DataFromFile(BytePointer filein,
BytePointer pdata,
SizeTPointer pnbytes,
IntPointer pw,
IntPointer ph,
IntPointer pminisblack) |
static int |
extractG4DataFromFile(BytePointer filein,
PointerPointer pdata,
SizeTPointer pnbytes,
IntPointer pw,
IntPointer ph,
IntPointer pminisblack) |
static int |
extractG4DataFromFile(String filein,
byte[] pdata,
SizeTPointer pnbytes,
int[] pw,
int[] ph,
int[] pminisblack) |
static int |
extractG4DataFromFile(String filein,
ByteBuffer pdata,
SizeTPointer pnbytes,
IntBuffer pw,
IntBuffer ph,
IntBuffer pminisblack) |
static int |
extractG4DataFromFile(String filein,
BytePointer pdata,
SizeTPointer pnbytes,
IntPointer pw,
IntPointer ph,
IntPointer pminisblack) |
static int |
extractMinMaxComponent(int pixel,
int type) |
static int |
extractNumberFromFilename(BytePointer fname,
int numpre,
int numpost) |
static int |
extractNumberFromFilename(String fname,
int numpre,
int numpost) |
static void |
extractRGBAValues(int pixel,
int[] prval,
int[] pgval,
int[] pbval,
int[] paval) |
static void |
extractRGBAValues(int pixel,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval,
IntBuffer paval) |
static void |
extractRGBAValues(int pixel,
IntPointer prval,
IntPointer pgval,
IntPointer pbval,
IntPointer paval) |
static void |
extractRGBValues(int pixel,
int[] prval,
int[] pgval,
int[] pbval) |
static void |
extractRGBValues(int pixel,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static void |
extractRGBValues(int pixel,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static int |
fgetJp2kResolution(Pointer fp,
int[] pxres,
int[] pyres) |
static int |
fgetJp2kResolution(Pointer fp,
IntBuffer pxres,
IntBuffer pyres) |
static int |
fgetJp2kResolution(Pointer fp,
IntPointer pxres,
IntPointer pyres) |
static int |
fgetJpegComment(Pointer fp,
byte[] pcomment) |
static int |
fgetJpegComment(Pointer fp,
ByteBuffer pcomment) |
static int |
fgetJpegComment(Pointer fp,
BytePointer pcomment) |
static int |
fgetJpegComment(Pointer fp,
PointerPointer pcomment) |
static int |
fgetJpegResolution(Pointer fp,
int[] pxres,
int[] pyres) |
static int |
fgetJpegResolution(Pointer fp,
IntBuffer pxres,
IntBuffer pyres) |
static int |
fgetJpegResolution(Pointer fp,
IntPointer pxres,
IntPointer pyres) |
static int |
fgetPngResolution(Pointer fp,
int[] pxres,
int[] pyres) |
static int |
fgetPngResolution(Pointer fp,
IntBuffer pxres,
IntBuffer pyres) |
static int |
fgetPngResolution(Pointer fp,
IntPointer pxres,
IntPointer pyres) |
static int |
fhmtautogen(lept.SELA sela,
int fileindex,
BytePointer filename) |
static int |
fhmtautogen(lept.SELA sela,
int fileindex,
String filename) |
static int |
fhmtautogen1(lept.SELA sela,
int fileindex,
BytePointer filename) |
static int |
fhmtautogen1(lept.SELA sela,
int fileindex,
String filename) |
static int |
fhmtautogen2(lept.SELA sela,
int fileindex,
BytePointer filename) |
static int |
fhmtautogen2(lept.SELA sela,
int fileindex,
String filename) |
static int |
fhmtgen_low_1(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int index) |
static int |
fhmtgen_low_1(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
int index) |
static int |
fhmtgen_low_1(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
int index) |
static int |
fileAppendString(BytePointer filename,
BytePointer str) |
static int |
fileAppendString(String filename,
String str) |
static int |
fileConcatenate(BytePointer srcfile,
BytePointer destfile) |
static int |
fileConcatenate(String srcfile,
String destfile) |
static int |
fileCopy(BytePointer srcfile,
BytePointer newfile) |
static int |
fileCopy(String srcfile,
String newfile) |
static int |
fileCorruptByDeletion(BytePointer filein,
float loc,
float size,
BytePointer fileout) |
static int |
fileCorruptByDeletion(String filein,
float loc,
float size,
String fileout) |
static int |
fileCorruptByMutation(BytePointer filein,
float loc,
float size,
BytePointer fileout) |
static int |
fileCorruptByMutation(String filein,
float loc,
float size,
String fileout) |
static int |
fileFormatIsTiff(Pointer fp) |
static int |
filesAreIdentical(BytePointer fname1,
BytePointer fname2,
int[] psame) |
static int |
filesAreIdentical(BytePointer fname1,
BytePointer fname2,
IntBuffer psame) |
static int |
filesAreIdentical(BytePointer fname1,
BytePointer fname2,
IntPointer psame) |
static int |
filesAreIdentical(String fname1,
String fname2,
int[] psame) |
static int |
filesAreIdentical(String fname1,
String fname2,
IntBuffer psame) |
static int |
filesAreIdentical(String fname1,
String fname2,
IntPointer psame) |
static int |
findFileFormat(BytePointer filename,
int[] pformat) |
static int |
findFileFormat(BytePointer filename,
IntBuffer pformat) |
static int |
findFileFormat(BytePointer filename,
IntPointer pformat) |
static int |
findFileFormat(String filename,
int[] pformat) |
static int |
findFileFormat(String filename,
IntBuffer pformat) |
static int |
findFileFormat(String filename,
IntPointer pformat) |
static int |
findFileFormatBuffer(byte[] buf,
int[] pformat) |
static int |
findFileFormatBuffer(ByteBuffer buf,
IntBuffer pformat) |
static int |
findFileFormatBuffer(BytePointer buf,
IntPointer pformat) |
static int |
findFileFormatStream(Pointer fp,
int[] pformat) |
static int |
findFileFormatStream(Pointer fp,
IntBuffer pformat) |
static int |
findFileFormatStream(Pointer fp,
IntPointer pformat) |
static int |
findNextBorderPixel(int w,
int h,
int[] data,
int wpl,
int px,
int py,
int[] pqpos,
int[] pnpx,
int[] pnpy) |
static int |
findNextBorderPixel(int w,
int h,
IntBuffer data,
int wpl,
int px,
int py,
IntBuffer pqpos,
IntBuffer pnpx,
IntBuffer pnpy) |
static int |
findNextBorderPixel(int w,
int h,
IntPointer data,
int wpl,
int px,
int py,
IntPointer pqpos,
IntPointer pnpx,
IntPointer pnpy) |
static int |
findTiffCompression(Pointer fp,
int[] pcomptype) |
static int |
findTiffCompression(Pointer fp,
IntBuffer pcomptype) |
static int |
findTiffCompression(Pointer fp,
IntPointer pcomptype) |
static int |
fmorphautogen(lept.SELA sela,
int fileindex,
BytePointer filename) |
static int |
fmorphautogen(lept.SELA sela,
int fileindex,
String filename) |
static int |
fmorphautogen1(lept.SELA sela,
int fileindex,
BytePointer filename) |
static int |
fmorphautogen1(lept.SELA sela,
int fileindex,
String filename) |
static int |
fmorphautogen2(lept.SELA sela,
int fileindex,
BytePointer filename) |
static int |
fmorphautogen2(lept.SELA sela,
int fileindex,
String filename) |
static int |
fmorphopgen_low_1(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int index) |
static int |
fmorphopgen_low_1(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
int index) |
static int |
fmorphopgen_low_1(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
int index) |
static int |
fmorphopgen_low_2(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int index) |
static int |
fmorphopgen_low_2(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
int index) |
static int |
fmorphopgen_low_2(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
int index) |
static long |
fnbytesInFile(Pointer fp) |
static Pointer |
fopenReadStream(BytePointer filename) |
static Pointer |
fopenReadStream(String filename) |
static Pointer |
fopenWriteStream(BytePointer filename,
BytePointer modestring) |
static Pointer |
fopenWriteStream(String filename,
String modestring) |
static int |
fpixaAddFPix(lept.FPIXA fpixa,
lept.FPIX fpix,
int copyflag) |
static int |
fpixaChangeRefcount(lept.FPIXA fpixa,
int delta) |
static lept.FPIXA |
fpixaCopy(lept.FPIXA fpixa,
int copyflag) |
static lept.FPIXA |
fpixaCreate(int n) |
static lept.FPIX |
fpixAddBorder(lept.FPIX fpixs,
int left,
int right,
int top,
int bot) |
static lept.FPIX |
fpixAddContinuedBorder(lept.FPIX fpixs,
int left,
int right,
int top,
int bot) |
static lept.FPIX |
fpixAddMirroredBorder(lept.FPIX fpixs,
int left,
int right,
int top,
int bot) |
static int |
fpixAddMultConstant(lept.FPIX fpix,
float addc,
float multc) |
static lept.FPIX |
fpixAddSlopeBorder(lept.FPIX fpixs,
int left,
int right,
int top,
int bot) |
static void |
fpixaDestroy(lept.FPIXA pfpixa) |
static void |
fpixaDestroy(PointerPointer pfpixa) |
static lept.PIX |
fpixaDisplayQuadtree(lept.FPIXA fpixa,
int factor,
BytePointer fontdir) |
static lept.PIX |
fpixaDisplayQuadtree(lept.FPIXA fpixa,
int factor,
String fontdir) |
static lept.FPIX |
fpixAffine(lept.FPIX fpixs,
float[] vc,
float inval) |
static lept.FPIX |
fpixAffine(lept.FPIX fpixs,
FloatBuffer vc,
float inval) |
static lept.FPIX |
fpixAffine(lept.FPIX fpixs,
FloatPointer vc,
float inval) |
static lept.FPIX |
fpixAffinePta(lept.FPIX fpixs,
lept.PTA ptad,
lept.PTA ptas,
int border,
float inval) |
static int |
fpixaGetCount(lept.FPIXA fpixa) |
static lept.FPIX |
fpixaGetFPix(lept.FPIXA fpixa,
int index,
int accesstype) |
static int |
fpixaGetFPixDimensions(lept.FPIXA fpixa,
int index,
int[] pw,
int[] ph) |
static int |
fpixaGetFPixDimensions(lept.FPIXA fpixa,
int index,
IntBuffer pw,
IntBuffer ph) |
static int |
fpixaGetFPixDimensions(lept.FPIXA fpixa,
int index,
IntPointer pw,
IntPointer ph) |
static int |
fpixaGetPixel(lept.FPIXA fpixa,
int index,
int x,
int y,
float[] pval) |
static int |
fpixaGetPixel(lept.FPIXA fpixa,
int index,
int x,
int y,
FloatBuffer pval) |
static int |
fpixaGetPixel(lept.FPIXA fpixa,
int index,
int x,
int y,
FloatPointer pval) |
static int |
fpixaSetPixel(lept.FPIXA fpixa,
int index,
int x,
int y,
float val) |
static lept.PIX |
fpixAutoRenderContours(lept.FPIX fpix,
int ncontours) |
static int |
fpixChangeRefcount(lept.FPIX fpix,
int delta) |
static lept.FPIX |
fpixClone(lept.FPIX fpix) |
static lept.DPIX |
fpixConvertToDPix(lept.FPIX fpix) |
static lept.PIX |
fpixConvertToPix(lept.FPIX fpixs,
int outdepth,
int negvals,
int errorflag) |
static lept.FPIX |
fpixConvolve(lept.FPIX fpixs,
lept.L_KERNEL kel,
int normflag) |
static lept.FPIX |
fpixConvolveSep(lept.FPIX fpixs,
lept.L_KERNEL kelx,
lept.L_KERNEL kely,
int normflag) |
static lept.FPIX |
fpixCopy(lept.FPIX fpixd,
lept.FPIX fpixs) |
static int |
fpixCopyResolution(lept.FPIX fpixd,
lept.FPIX fpixs) |
static lept.FPIX |
fpixCreate(int width,
int height) |
static lept.FPIX |
fpixCreateTemplate(lept.FPIX fpixs) |
static void |
fpixDestroy(lept.FPIX pfpix) |
static void |
fpixDestroy(PointerPointer pfpix) |
static lept.PIX |
fpixDisplayMaxDynamicRange(lept.FPIX fpixs) |
static lept.FPIX |
fpixEndianByteSwap(lept.FPIX fpixd,
lept.FPIX fpixs) |
static lept.FPIX |
fpixFlipLR(lept.FPIX fpixd,
lept.FPIX fpixs) |
static lept.FPIX |
fpixFlipTB(lept.FPIX fpixd,
lept.FPIX fpixs) |
static FloatPointer |
fpixGetData(lept.FPIX fpix) |
static int |
fpixGetDimensions(lept.FPIX fpix,
int[] pw,
int[] ph) |
static int |
fpixGetDimensions(lept.FPIX fpix,
IntBuffer pw,
IntBuffer ph) |
static int |
fpixGetDimensions(lept.FPIX fpix,
IntPointer pw,
IntPointer ph) |
static int |
fpixGetMax(lept.FPIX fpix,
float[] pmaxval,
int[] pxmaxloc,
int[] pymaxloc) |
static int |
fpixGetMax(lept.FPIX fpix,
FloatBuffer pmaxval,
IntBuffer pxmaxloc,
IntBuffer pymaxloc) |
static int |
fpixGetMax(lept.FPIX fpix,
FloatPointer pmaxval,
IntPointer pxmaxloc,
IntPointer pymaxloc) |
static int |
fpixGetMin(lept.FPIX fpix,
float[] pminval,
int[] pxminloc,
int[] pyminloc) |
static int |
fpixGetMin(lept.FPIX fpix,
FloatBuffer pminval,
IntBuffer pxminloc,
IntBuffer pyminloc) |
static int |
fpixGetMin(lept.FPIX fpix,
FloatPointer pminval,
IntPointer pxminloc,
IntPointer pyminloc) |
static int |
fpixGetPixel(lept.FPIX fpix,
int x,
int y,
float[] pval) |
static int |
fpixGetPixel(lept.FPIX fpix,
int x,
int y,
FloatBuffer pval) |
static int |
fpixGetPixel(lept.FPIX fpix,
int x,
int y,
FloatPointer pval) |
static int |
fpixGetRefcount(lept.FPIX fpix) |
static int |
fpixGetResolution(lept.FPIX fpix,
int[] pxres,
int[] pyres) |
static int |
fpixGetResolution(lept.FPIX fpix,
IntBuffer pxres,
IntBuffer pyres) |
static int |
fpixGetResolution(lept.FPIX fpix,
IntPointer pxres,
IntPointer pyres) |
static int |
fpixGetWpl(lept.FPIX fpix) |
static lept.FPIX |
fpixLinearCombination(lept.FPIX fpixd,
lept.FPIX fpixs1,
lept.FPIX fpixs2,
float a,
float b) |
static int |
fpixPrintStream(Pointer fp,
lept.FPIX fpix,
int factor) |
static lept.FPIX |
fpixProjective(lept.FPIX fpixs,
float[] vc,
float inval) |
static lept.FPIX |
fpixProjective(lept.FPIX fpixs,
FloatBuffer vc,
float inval) |
static lept.FPIX |
fpixProjective(lept.FPIX fpixs,
FloatPointer vc,
float inval) |
static lept.FPIX |
fpixProjectivePta(lept.FPIX fpixs,
lept.PTA ptad,
lept.PTA ptas,
int border,
float inval) |
static int |
fpixRasterop(lept.FPIX fpixd,
int dx,
int dy,
int dw,
int dh,
lept.FPIX fpixs,
int sx,
int sy) |
static lept.FPIX |
fpixRead(BytePointer filename) |
static lept.FPIX |
fpixRead(String filename) |
static lept.FPIX |
fpixReadStream(Pointer fp) |
static lept.FPIX |
fpixRemoveBorder(lept.FPIX fpixs,
int left,
int right,
int top,
int bot) |
static lept.PIX |
fpixRenderContours(lept.FPIX fpixs,
float incr,
float proxim) |
static int |
fpixResizeImageData(lept.FPIX fpixd,
lept.FPIX fpixs) |
static lept.FPIX |
fpixRotate180(lept.FPIX fpixd,
lept.FPIX fpixs) |
static lept.FPIX |
fpixRotate90(lept.FPIX fpixs,
int direction) |
static lept.FPIX |
fpixRotateOrth(lept.FPIX fpixs,
int quads) |
static lept.FPIX |
fpixScaleByInteger(lept.FPIX fpixs,
int factor) |
static int |
fpixSetAllArbitrary(lept.FPIX fpix,
float inval) |
static int |
fpixSetData(lept.FPIX fpix,
float[] data) |
static int |
fpixSetData(lept.FPIX fpix,
FloatBuffer data) |
static int |
fpixSetData(lept.FPIX fpix,
FloatPointer data) |
static int |
fpixSetDimensions(lept.FPIX fpix,
int w,
int h) |
static int |
fpixSetPixel(lept.FPIX fpix,
int x,
int y,
float val) |
static int |
fpixSetResolution(lept.FPIX fpix,
int xres,
int yres) |
static int |
fpixSetWpl(lept.FPIX fpix,
int wpl) |
static lept.PIX |
fpixThresholdToPix(lept.FPIX fpix,
float thresh) |
static int |
fpixWrite(BytePointer filename,
lept.FPIX fpix) |
static int |
fpixWrite(String filename,
lept.FPIX fpix) |
static int |
fpixWriteStream(Pointer fp,
lept.FPIX fpix) |
static int |
fprintTiffInfo(Pointer fpout,
BytePointer tiffile) |
static int |
fprintTiffInfo(Pointer fpout,
String tiffile) |
static int |
freadHeaderJp2k(Pointer fp,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp) |
static int |
freadHeaderJp2k(Pointer fp,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp) |
static int |
freadHeaderJp2k(Pointer fp,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp) |
static int |
freadHeaderJpeg(Pointer fp,
int[] pw,
int[] ph,
int[] pspp,
int[] pycck,
int[] pcmyk) |
static int |
freadHeaderJpeg(Pointer fp,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp,
IntBuffer pycck,
IntBuffer pcmyk) |
static int |
freadHeaderJpeg(Pointer fp,
IntPointer pw,
IntPointer ph,
IntPointer pspp,
IntPointer pycck,
IntPointer pcmyk) |
static int |
freadHeaderPng(Pointer fp,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
freadHeaderPng(Pointer fp,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
freadHeaderPng(Pointer fp,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
freadHeaderPnm(Pointer fp,
int[] pw,
int[] ph,
int[] pd,
int[] ptype,
int[] pbps,
int[] pspp) |
static int |
freadHeaderPnm(Pointer fp,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd,
IntBuffer ptype,
IntBuffer pbps,
IntBuffer pspp) |
static int |
freadHeaderPnm(Pointer fp,
IntPointer pw,
IntPointer ph,
IntPointer pd,
IntPointer ptype,
IntPointer pbps,
IntPointer pspp) |
static int |
freadHeaderSpix(Pointer fp,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
freadHeaderSpix(Pointer fp,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
freadHeaderSpix(Pointer fp,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
freadHeaderTiff(Pointer fp,
int n,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] pres,
int[] pcmap,
int[] pformat) |
static int |
freadHeaderTiff(Pointer fp,
int n,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer pres,
IntBuffer pcmap,
IntBuffer pformat) |
static int |
freadHeaderTiff(Pointer fp,
int n,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer pres,
IntPointer pcmap,
IntPointer pformat) |
static float |
gaussDistribSampling() |
static int |
gaussjordan(float[] a,
float[] b,
int n) |
static int |
gaussjordan(FloatBuffer a,
FloatBuffer b,
int n) |
static int |
gaussjordan(FloatPointer a,
FloatPointer b,
int n) |
static int |
gaussjordan(PointerPointer a,
FloatPointer b,
int n) |
static lept.PIX |
generateBinaryMaze(int w,
int h,
int xi,
int yi,
float wallps,
float ranis) |
static BytePointer |
generateFlatePS(BytePointer filein,
lept.L_COMP_DATA cid,
float xpt,
float ypt,
float wpt,
float hpt,
int pageno,
int endpage) |
static ByteBuffer |
generateFlatePS(String filein,
lept.L_COMP_DATA cid,
float xpt,
float ypt,
float wpt,
float hpt,
int pageno,
int endpage) |
static BytePointer |
generateG4PS(BytePointer filein,
lept.L_COMP_DATA cid,
float xpt,
float ypt,
float wpt,
float hpt,
int maskflag,
int pageno,
int endpage) |
static ByteBuffer |
generateG4PS(String filein,
lept.L_COMP_DATA cid,
float xpt,
float ypt,
float wpt,
float hpt,
int maskflag,
int pageno,
int endpage) |
static BytePointer |
generateJpegPS(BytePointer filein,
lept.L_COMP_DATA cid,
float xpt,
float ypt,
float wpt,
float hpt,
int pageno,
int endpage) |
static ByteBuffer |
generateJpegPS(String filein,
lept.L_COMP_DATA cid,
float xpt,
float ypt,
float wpt,
float hpt,
int pageno,
int endpage) |
static lept.PTAA |
generatePtaaBoxa(lept.BOXA boxa) |
static lept.PTAA |
generatePtaaHashBoxa(lept.BOXA boxa,
int spacing,
int width,
int orient,
int outline) |
static lept.PTA |
generatePtaBox(lept.BOX box,
int width) |
static lept.PTA |
generatePtaBoxa(lept.BOXA boxa,
int width,
int removedups) |
static lept.PTA |
generatePtaFilledCircle(int radius) |
static lept.PTA |
generatePtaFilledSquare(int side) |
static lept.PTA |
generatePtaHashBox(lept.BOX box,
int spacing,
int width,
int orient,
int outline) |
static lept.PTA |
generatePtaHashBoxa(lept.BOXA boxa,
int spacing,
int width,
int orient,
int outline,
int removedups) |
static lept.PTA |
generatePtaLine(int x1,
int y1,
int x2,
int y2) |
static lept.PTA |
generatePtaLineFromPt(int x,
int y,
double length,
double radang) |
static lept.PTA |
generatePtaPolyline(lept.PTA ptas,
int width,
int closeflag,
int removedups) |
static lept.PTA |
generatePtaWideLine(int x1,
int y1,
int x2,
int y2,
int width) |
static byte[] |
generateUncompressedPS(byte[] hexdata,
int w,
int h,
int d,
int psbpl,
int bps,
float xpt,
float ypt,
float wpt,
float hpt,
int boxflag) |
static ByteBuffer |
generateUncompressedPS(ByteBuffer hexdata,
int w,
int h,
int d,
int psbpl,
int bps,
float xpt,
float ypt,
float wpt,
float hpt,
int boxflag) |
static BytePointer |
generateUncompressedPS(BytePointer hexdata,
int w,
int h,
int d,
int psbpl,
int bps,
float xpt,
float ypt,
float wpt,
float hpt,
int boxflag) |
static BytePointer |
genPathname(BytePointer dir,
BytePointer fname) |
static ByteBuffer |
genPathname(String dir,
String fname) |
static int |
genRandomIntegerInRange(int range,
int seed,
int[] pval) |
static int |
genRandomIntegerInRange(int range,
int seed,
IntBuffer pval) |
static int |
genRandomIntegerInRange(int range,
int seed,
IntPointer pval) |
static BytePointer |
genTempFilename(BytePointer dir,
BytePointer tail,
int usetime,
int usepid) |
static ByteBuffer |
genTempFilename(String dir,
String tail,
int usetime,
int usepid) |
static int |
getAffineXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
float[] pvc) |
static int |
getAffineXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
FloatBuffer pvc) |
static int |
getAffineXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
FloatPointer pvc) |
static int |
getAffineXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
PointerPointer pvc) |
static int |
getBilinearXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
float[] pvc) |
static int |
getBilinearXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
FloatBuffer pvc) |
static int |
getBilinearXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
FloatPointer pvc) |
static int |
getBilinearXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
PointerPointer pvc) |
static int |
getCompositeParameters(int size,
int[] psize1,
int[] psize2,
byte[] pnameh1,
byte[] pnameh2,
byte[] pnamev1,
byte[] pnamev2) |
static int |
getCompositeParameters(int size,
IntBuffer psize1,
IntBuffer psize2,
ByteBuffer pnameh1,
ByteBuffer pnameh2,
ByteBuffer pnamev1,
ByteBuffer pnamev2) |
static int |
getCompositeParameters(int size,
IntPointer psize1,
IntPointer psize2,
BytePointer pnameh1,
BytePointer pnameh2,
BytePointer pnamev1,
BytePointer pnamev2) |
static int |
getCompositeParameters(int size,
IntPointer psize1,
IntPointer psize2,
PointerPointer pnameh1,
PointerPointer pnameh2,
PointerPointer pnamev1,
PointerPointer pnamev2) |
static lept.PTA |
getCutPathForHole(lept.PIX pix,
lept.PTA pta,
lept.BOX boxinner,
int[] pdir,
int[] plen) |
static lept.PTA |
getCutPathForHole(lept.PIX pix,
lept.PTA pta,
lept.BOX boxinner,
IntBuffer pdir,
IntBuffer plen) |
static lept.PTA |
getCutPathForHole(lept.PIX pix,
lept.PTA pta,
lept.BOX boxinner,
IntPointer pdir,
IntPointer plen) |
static int |
getExtendedCompositeParameters(int size,
int[] pn,
int[] pextra,
int[] pactualsize) |
static int |
getExtendedCompositeParameters(int size,
IntBuffer pn,
IntBuffer pextra,
IntBuffer pactualsize) |
static int |
getExtendedCompositeParameters(int size,
IntPointer pn,
IntPointer pextra,
IntPointer pactualsize) |
static lept.SARRAY |
getFilenamesInDirectory(BytePointer dirname) |
static lept.SARRAY |
getFilenamesInDirectory(String dirname) |
static BytePointer |
getFormatExtension(int format) |
static BytePointer |
getImagelibVersions() |
static int |
getImpliedFileFormat(BytePointer filename) |
static int |
getImpliedFileFormat(String filename) |
static BytePointer |
getLeptonicaVersion() |
static float |
getLogBase2(int val,
float[] logtab) |
static float |
getLogBase2(int val,
FloatBuffer logtab) |
static float |
getLogBase2(int val,
FloatPointer logtab) |
static int |
getMorphBorderPixelColor(int type,
int depth) |
static lept.SARRAY |
getNumberedPathnamesInDirectory(BytePointer dirname,
BytePointer substr,
int numpre,
int numpost,
int maxnum) |
static lept.SARRAY |
getNumberedPathnamesInDirectory(String dirname,
String substr,
int numpre,
int numpost,
int maxnum) |
static void |
getOctcubeIndexFromRGB(int rval,
int gval,
int bval,
int[] rtab,
int[] gtab,
int[] btab,
int[] pindex) |
static void |
getOctcubeIndexFromRGB(int rval,
int gval,
int bval,
IntBuffer rtab,
IntBuffer gtab,
IntBuffer btab,
IntBuffer pindex) |
static void |
getOctcubeIndexFromRGB(int rval,
int gval,
int bval,
IntPointer rtab,
IntPointer gtab,
IntPointer btab,
IntPointer pindex) |
static int |
getProjectiveXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
float[] pvc) |
static int |
getProjectiveXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
FloatBuffer pvc) |
static int |
getProjectiveXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
FloatPointer pvc) |
static int |
getProjectiveXformCoeffs(lept.PTA ptas,
lept.PTA ptad,
PointerPointer pvc) |
static int |
getResA4Page(int w,
int h,
float fillfract) |
static int |
getResLetterPage(int w,
int h,
float fillfract) |
static int |
getRGBFromIndex(int index,
int sigbits,
int[] prval,
int[] pgval,
int[] pbval) |
static int |
getRGBFromIndex(int index,
int sigbits,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static int |
getRGBFromIndex(int index,
int sigbits,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static void |
getScaledParametersPS(lept.BOX box,
int wpix,
int hpix,
int res,
float scale,
float[] pxpt,
float[] pypt,
float[] pwpt,
float[] phpt) |
static void |
getScaledParametersPS(lept.BOX box,
int wpix,
int hpix,
int res,
float scale,
FloatBuffer pxpt,
FloatBuffer pypt,
FloatBuffer pwpt,
FloatBuffer phpt) |
static void |
getScaledParametersPS(lept.BOX box,
int wpix,
int hpix,
int res,
float scale,
FloatPointer pxpt,
FloatPointer pypt,
FloatPointer pwpt,
FloatPointer phpt) |
static lept.SARRAY |
getSortedPathnamesInDirectory(BytePointer dirname,
BytePointer substr,
int first,
int nfiles) |
static lept.SARRAY |
getSortedPathnamesInDirectory(String dirname,
String substr,
int first,
int nfiles) |
static int |
getTiffResolution(Pointer fp,
int[] pxres,
int[] pyres) |
static int |
getTiffResolution(Pointer fp,
IntBuffer pxres,
IntBuffer pyres) |
static int |
getTiffResolution(Pointer fp,
IntPointer pxres,
IntPointer pyres) |
static int |
gplotAddPlot(lept.GPLOT gplot,
lept.NUMA nax,
lept.NUMA nay,
int plotstyle,
BytePointer plottitle) |
static int |
gplotAddPlot(lept.GPLOT gplot,
lept.NUMA nax,
lept.NUMA nay,
int plotstyle,
String plottitle) |
static lept.GPLOT |
gplotCreate(BytePointer rootname,
int outformat,
BytePointer title,
BytePointer xlabel,
BytePointer ylabel) |
static lept.GPLOT |
gplotCreate(String rootname,
int outformat,
String title,
String xlabel,
String ylabel) |
static void |
gplotDestroy(lept.GPLOT pgplot) |
static void |
gplotDestroy(PointerPointer pgplot) |
static PointerPointer |
gplotfileoutputs() |
static BytePointer |
gplotfileoutputs(int i) |
static PointerPointer |
gplotfilestyles() |
static BytePointer |
gplotfilestyles(int i) |
static int |
gplotGenCommandFile(lept.GPLOT gplot) |
static int |
gplotGenDataFiles(lept.GPLOT gplot) |
static int |
gplotMakeOutput(lept.GPLOT gplot) |
static lept.GPLOT |
gplotRead(BytePointer filename) |
static lept.GPLOT |
gplotRead(String filename) |
static int |
gplotSetScaling(lept.GPLOT gplot,
int scaling) |
static int |
gplotSimple1(lept.NUMA na,
int outformat,
BytePointer outroot,
BytePointer title) |
static int |
gplotSimple1(lept.NUMA na,
int outformat,
String outroot,
String title) |
static int |
gplotSimple2(lept.NUMA na1,
lept.NUMA na2,
int outformat,
BytePointer outroot,
BytePointer title) |
static int |
gplotSimple2(lept.NUMA na1,
lept.NUMA na2,
int outformat,
String outroot,
String title) |
static int |
gplotSimpleN(lept.NUMAA naa,
int outformat,
BytePointer outroot,
BytePointer title) |
static int |
gplotSimpleN(lept.NUMAA naa,
int outformat,
String outroot,
String title) |
static int |
gplotSimpleXY1(lept.NUMA nax,
lept.NUMA nay,
int outformat,
BytePointer outroot,
BytePointer title) |
static int |
gplotSimpleXY1(lept.NUMA nax,
lept.NUMA nay,
int outformat,
String outroot,
String title) |
static int |
gplotSimpleXY2(lept.NUMA nax,
lept.NUMA nay1,
lept.NUMA nay2,
int outformat,
BytePointer outroot,
BytePointer title) |
static int |
gplotSimpleXY2(lept.NUMA nax,
lept.NUMA nay1,
lept.NUMA nay2,
int outformat,
String outroot,
String title) |
static int |
gplotSimpleXYN(lept.NUMA nax,
lept.NUMAA naay,
int outformat,
BytePointer outroot,
BytePointer title) |
static int |
gplotSimpleXYN(lept.NUMA nax,
lept.NUMAA naay,
int outformat,
String outroot,
String title) |
static PointerPointer |
gplotstylenames() |
static BytePointer |
gplotstylenames(int i) |
static int |
gplotWrite(BytePointer filename,
lept.GPLOT gplot) |
static int |
gplotWrite(String filename,
lept.GPLOT gplot) |
static int |
ioFormatTest(BytePointer filename) |
static int |
ioFormatTest(String filename) |
static int |
isPngInterlaced(BytePointer filename,
int[] pinterlaced) |
static int |
isPngInterlaced(BytePointer filename,
IntBuffer pinterlaced) |
static int |
isPngInterlaced(BytePointer filename,
IntPointer pinterlaced) |
static int |
isPngInterlaced(String filename,
int[] pinterlaced) |
static int |
isPngInterlaced(String filename,
IntBuffer pinterlaced) |
static int |
isPngInterlaced(String filename,
IntPointer pinterlaced) |
static lept.PIXA |
jbAccumulateComposites(lept.PIXAA pixaa,
lept.NUMA pna,
lept.PTA pptat) |
static lept.PIXA |
jbAccumulateComposites(lept.PIXAA pixaa,
PointerPointer pna,
PointerPointer pptat) |
static int |
jbAddPage(lept.JBCLASSER classer,
lept.PIX pixs) |
static int |
jbAddPageComponents(lept.JBCLASSER classer,
lept.PIX pixs,
lept.BOXA boxas,
lept.PIXA pixas) |
static int |
jbAddPages(lept.JBCLASSER classer,
lept.SARRAY safiles) |
static lept.JBCLASSER |
jbClasserCreate(int method,
int components) |
static void |
jbClasserDestroy(lept.JBCLASSER pclasser) |
static void |
jbClasserDestroy(PointerPointer pclasser) |
static int |
jbClassifyCorrelation(lept.JBCLASSER classer,
lept.BOXA boxa,
lept.PIXA pixas) |
static int |
jbClassifyRankHaus(lept.JBCLASSER classer,
lept.BOXA boxa,
lept.PIXA pixas) |
static int |
jbCorrelation(BytePointer dirin,
float thresh,
float weight,
int components,
BytePointer rootname,
int firstpage,
int npages,
int renderflag) |
static int |
jbCorrelation(String dirin,
float thresh,
float weight,
int components,
String rootname,
int firstpage,
int npages,
int renderflag) |
static lept.JBCLASSER |
jbCorrelationInit(int components,
int maxwidth,
int maxheight,
float thresh,
float weightfactor) |
static lept.JBCLASSER |
jbCorrelationInitWithoutComponents(int components,
int maxwidth,
int maxheight,
float thresh,
float weightfactor) |
static void |
jbDataDestroy(lept.JBDATA pdata) |
static void |
jbDataDestroy(PointerPointer pdata) |
static lept.JBDATA |
jbDataRead(BytePointer rootname) |
static lept.JBDATA |
jbDataRead(String rootname) |
static lept.PIXA |
jbDataRender(lept.JBDATA data,
int debugflag) |
static lept.JBDATA |
jbDataSave(lept.JBCLASSER classer) |
static int |
jbDataWrite(BytePointer rootout,
lept.JBDATA jbdata) |
static int |
jbDataWrite(String rootout,
lept.JBDATA jbdata) |
static int |
jbGetComponents(lept.PIX pixs,
int components,
int maxwidth,
int maxheight,
lept.BOXA pboxad,
lept.PIXA ppixad) |
static int |
jbGetComponents(lept.PIX pixs,
int components,
int maxwidth,
int maxheight,
PointerPointer pboxad,
PointerPointer ppixad) |
static int |
jbGetLLCorners(lept.JBCLASSER classer) |
static int |
jbGetULCorners(lept.JBCLASSER classer,
lept.PIX pixs,
lept.BOXA boxa) |
static int |
jbRankHaus(BytePointer dirin,
int size,
float rank,
int components,
BytePointer rootname,
int firstpage,
int npages,
int renderflag) |
static int |
jbRankHaus(String dirin,
int size,
float rank,
int components,
String rootname,
int firstpage,
int npages,
int renderflag) |
static lept.JBCLASSER |
jbRankHausInit(int components,
int maxwidth,
int maxheight,
int size,
float rank) |
static lept.PIXA |
jbTemplatesFromComposites(lept.PIXA pixac,
lept.NUMA na) |
static lept.JBCLASSER |
jbWordsInTextlines(BytePointer dirin,
int reduction,
int maxwidth,
int maxheight,
float thresh,
float weight,
lept.NUMA pnatl,
int firstpage,
int npages) |
static lept.JBCLASSER |
jbWordsInTextlines(BytePointer dirin,
int reduction,
int maxwidth,
int maxheight,
float thresh,
float weight,
PointerPointer pnatl,
int firstpage,
int npages) |
static lept.JBCLASSER |
jbWordsInTextlines(String dirin,
int reduction,
int maxwidth,
int maxheight,
float thresh,
float weight,
lept.NUMA pnatl,
int firstpage,
int npages) |
static lept.L_KERNEL |
kernelCopy(lept.L_KERNEL kels) |
static lept.L_KERNEL |
kernelCreate(int height,
int width) |
static lept.L_KERNEL |
kernelCreateFromFile(BytePointer filename) |
static lept.L_KERNEL |
kernelCreateFromFile(String filename) |
static lept.L_KERNEL |
kernelCreateFromPix(lept.PIX pix,
int cy,
int cx) |
static lept.L_KERNEL |
kernelCreateFromString(int h,
int w,
int cy,
int cx,
BytePointer kdata) |
static lept.L_KERNEL |
kernelCreateFromString(int h,
int w,
int cy,
int cx,
String kdata) |
static void |
kernelDestroy(lept.L_KERNEL pkel) |
static void |
kernelDestroy(PointerPointer pkel) |
static lept.PIX |
kernelDisplayInPix(lept.L_KERNEL kel,
int size,
int gthick) |
static int |
kernelGetElement(lept.L_KERNEL kel,
int row,
int col,
float[] pval) |
static int |
kernelGetElement(lept.L_KERNEL kel,
int row,
int col,
FloatBuffer pval) |
static int |
kernelGetElement(lept.L_KERNEL kel,
int row,
int col,
FloatPointer pval) |
static int |
kernelGetMinMax(lept.L_KERNEL kel,
float[] pmin,
float[] pmax) |
static int |
kernelGetMinMax(lept.L_KERNEL kel,
FloatBuffer pmin,
FloatBuffer pmax) |
static int |
kernelGetMinMax(lept.L_KERNEL kel,
FloatPointer pmin,
FloatPointer pmax) |
static int |
kernelGetParameters(lept.L_KERNEL kel,
int[] psy,
int[] psx,
int[] pcy,
int[] pcx) |
static int |
kernelGetParameters(lept.L_KERNEL kel,
IntBuffer psy,
IntBuffer psx,
IntBuffer pcy,
IntBuffer pcx) |
static int |
kernelGetParameters(lept.L_KERNEL kel,
IntPointer psy,
IntPointer psx,
IntPointer pcy,
IntPointer pcx) |
static int |
kernelGetSum(lept.L_KERNEL kel,
float[] psum) |
static int |
kernelGetSum(lept.L_KERNEL kel,
FloatBuffer psum) |
static int |
kernelGetSum(lept.L_KERNEL kel,
FloatPointer psum) |
static lept.L_KERNEL |
kernelInvert(lept.L_KERNEL kels) |
static lept.L_KERNEL |
kernelNormalize(lept.L_KERNEL kels,
float normsum) |
static lept.L_KERNEL |
kernelRead(BytePointer fname) |
static lept.L_KERNEL |
kernelRead(String fname) |
static lept.L_KERNEL |
kernelReadStream(Pointer fp) |
static int |
kernelSetElement(lept.L_KERNEL kel,
int row,
int col,
float val) |
static int |
kernelSetOrigin(lept.L_KERNEL kel,
int cy,
int cx) |
static int |
kernelWrite(BytePointer fname,
lept.L_KERNEL kel) |
static int |
kernelWrite(String fname,
lept.L_KERNEL kel) |
static int |
kernelWriteStream(Pointer fp,
lept.L_KERNEL kel) |
static int |
L_ALPHA_SHIFT() |
static float |
l_angleBetweenVectors(float x1,
float y1,
float x2,
float y2) |
static byte[] |
l_binaryCopy(byte[] datas,
long size) |
static ByteBuffer |
l_binaryCopy(ByteBuffer datas,
long size) |
static BytePointer |
l_binaryCopy(BytePointer datas,
long size) |
static BytePointer |
l_binaryRead(BytePointer filename,
SizeTPointer pnbytes) |
static ByteBuffer |
l_binaryRead(String filename,
SizeTPointer pnbytes) |
static BytePointer |
l_binaryReadSelect(BytePointer filename,
long start,
long nbytes,
SizeTPointer pnread) |
static ByteBuffer |
l_binaryReadSelect(String filename,
long start,
long nbytes,
SizeTPointer pnread) |
static BytePointer |
l_binaryReadSelectStream(Pointer fp,
long start,
long nbytes,
SizeTPointer pnread) |
static BytePointer |
l_binaryReadStream(Pointer fp,
SizeTPointer pnbytes) |
static int |
l_binaryWrite(BytePointer filename,
BytePointer operation,
Pointer data,
long nbytes) |
static int |
l_binaryWrite(String filename,
String operation,
Pointer data,
long nbytes) |
static int |
L_BLUE_SHIFT() |
static float |
L_BLUE_WEIGHT() |
static int |
l_byteaAppendData(lept.L_BYTEA ba,
byte[] newdata,
long newbytes) |
static int |
l_byteaAppendData(lept.L_BYTEA ba,
ByteBuffer newdata,
long newbytes) |
static int |
l_byteaAppendData(lept.L_BYTEA ba,
BytePointer newdata,
long newbytes) |
static int |
l_byteaAppendString(lept.L_BYTEA ba,
byte[] str) |
static int |
l_byteaAppendString(lept.L_BYTEA ba,
ByteBuffer str) |
static int |
l_byteaAppendString(lept.L_BYTEA ba,
BytePointer str) |
static lept.L_BYTEA |
l_byteaCopy(lept.L_BYTEA bas,
int copyflag) |
static BytePointer |
l_byteaCopyData(lept.L_BYTEA ba,
SizeTPointer psize) |
static lept.L_BYTEA |
l_byteaCreate(long nbytes) |
static void |
l_byteaDestroy(lept.L_BYTEA pba) |
static void |
l_byteaDestroy(PointerPointer pba) |
static int |
l_byteaFindEachSequence(lept.L_BYTEA ba,
byte[] sequence,
int seqlen,
lept.L_DNA pda) |
static int |
l_byteaFindEachSequence(lept.L_BYTEA ba,
ByteBuffer sequence,
int seqlen,
lept.L_DNA pda) |
static int |
l_byteaFindEachSequence(lept.L_BYTEA ba,
BytePointer sequence,
int seqlen,
lept.L_DNA pda) |
static int |
l_byteaFindEachSequence(lept.L_BYTEA ba,
BytePointer sequence,
int seqlen,
PointerPointer pda) |
static BytePointer |
l_byteaGetData(lept.L_BYTEA ba,
SizeTPointer psize) |
static long |
l_byteaGetSize(lept.L_BYTEA ba) |
static lept.L_BYTEA |
l_byteaInitFromFile(BytePointer fname) |
static lept.L_BYTEA |
l_byteaInitFromFile(String fname) |
static lept.L_BYTEA |
l_byteaInitFromMem(byte[] data,
long size) |
static lept.L_BYTEA |
l_byteaInitFromMem(ByteBuffer data,
long size) |
static lept.L_BYTEA |
l_byteaInitFromMem(BytePointer data,
long size) |
static lept.L_BYTEA |
l_byteaInitFromStream(Pointer fp) |
static int |
l_byteaJoin(lept.L_BYTEA ba1,
lept.L_BYTEA pba2) |
static int |
l_byteaJoin(lept.L_BYTEA ba1,
PointerPointer pba2) |
static int |
l_byteaSplit(lept.L_BYTEA ba1,
long splitloc,
lept.L_BYTEA pba2) |
static int |
l_byteaSplit(lept.L_BYTEA ba1,
long splitloc,
PointerPointer pba2) |
static int |
l_byteaWrite(BytePointer fname,
lept.L_BYTEA ba,
long startloc,
long endloc) |
static int |
l_byteaWrite(String fname,
lept.L_BYTEA ba,
long startloc,
long endloc) |
static int |
l_byteaWriteStream(Pointer fp,
lept.L_BYTEA ba,
long startloc,
long endloc) |
static void |
l_chooseDisplayProg(int selection) |
static void |
l_CIDataDestroy(lept.L_COMP_DATA pcid) |
static void |
l_CIDataDestroy(PointerPointer pcid) |
static void |
l_clearDataBit(Pointer line,
int n) |
static void |
l_clearDataDibit(Pointer line,
int n) |
static void |
l_clearDataQbit(Pointer line,
int n) |
static int |
l_convertCharstrToInt(BytePointer str,
int[] pval) |
static int |
l_convertCharstrToInt(BytePointer str,
IntBuffer pval) |
static int |
l_convertCharstrToInt(BytePointer str,
IntPointer pval) |
static int |
l_convertCharstrToInt(String str,
int[] pval) |
static int |
l_convertCharstrToInt(String str,
IntBuffer pval) |
static int |
l_convertCharstrToInt(String str,
IntPointer pval) |
static int |
l_dnaaAddDna(lept.L_DNAA daa,
lept.L_DNA da,
int copyflag) |
static int |
l_dnaaAddNumber(lept.L_DNAA daa,
int index,
double val) |
static lept.L_DNAA |
l_dnaaCreate(int n) |
static int |
l_dnaAddNumber(lept.L_DNA da,
double val) |
static void |
l_dnaaDestroy(lept.L_DNAA pdaa) |
static void |
l_dnaaDestroy(PointerPointer pdaa) |
static int |
l_dnaaGetCount(lept.L_DNAA daa) |
static lept.L_DNA |
l_dnaaGetDna(lept.L_DNAA daa,
int index,
int accessflag) |
static int |
l_dnaaGetDnaCount(lept.L_DNAA daa,
int index) |
static int |
l_dnaaGetNumberCount(lept.L_DNAA daa) |
static int |
l_dnaaGetValue(lept.L_DNAA daa,
int i,
int j,
double[] pval) |
static int |
l_dnaaGetValue(lept.L_DNAA daa,
int i,
int j,
DoubleBuffer pval) |
static int |
l_dnaaGetValue(lept.L_DNAA daa,
int i,
int j,
DoublePointer pval) |
static lept.L_DNAA |
l_dnaaRead(BytePointer filename) |
static lept.L_DNAA |
l_dnaaRead(String filename) |
static lept.L_DNAA |
l_dnaaReadStream(Pointer fp) |
static int |
l_dnaaReplaceDna(lept.L_DNAA daa,
int index,
lept.L_DNA da) |
static int |
l_dnaaWrite(BytePointer filename,
lept.L_DNAA daa) |
static int |
l_dnaaWrite(String filename,
lept.L_DNAA daa) |
static int |
l_dnaaWriteStream(Pointer fp,
lept.L_DNAA daa) |
static int |
l_dnaChangeRefcount(lept.L_DNA da,
int delta) |
static lept.L_DNA |
l_dnaClone(lept.L_DNA da) |
static lept.NUMA |
l_dnaConvertToNuma(lept.L_DNA da) |
static lept.L_DNA |
l_dnaCopy(lept.L_DNA da) |
static int |
l_dnaCopyParameters(lept.L_DNA dad,
lept.L_DNA das) |
static lept.L_DNA |
l_dnaCreate(int n) |
static lept.L_DNA |
l_dnaCreateFromDArray(double[] darray,
int size,
int copyflag) |
static lept.L_DNA |
l_dnaCreateFromDArray(DoubleBuffer darray,
int size,
int copyflag) |
static lept.L_DNA |
l_dnaCreateFromDArray(DoublePointer darray,
int size,
int copyflag) |
static lept.L_DNA |
l_dnaCreateFromIArray(int[] iarray,
int size) |
static lept.L_DNA |
l_dnaCreateFromIArray(IntBuffer iarray,
int size) |
static lept.L_DNA |
l_dnaCreateFromIArray(IntPointer iarray,
int size) |
static void |
l_dnaDestroy(lept.L_DNA pda) |
static void |
l_dnaDestroy(PointerPointer pda) |
static int |
l_dnaEmpty(lept.L_DNA da) |
static int |
l_dnaGetCount(lept.L_DNA da) |
static DoublePointer |
l_dnaGetDArray(lept.L_DNA da,
int copyflag) |
static int |
l_dnaGetDValue(lept.L_DNA da,
int index,
double[] pval) |
static int |
l_dnaGetDValue(lept.L_DNA da,
int index,
DoubleBuffer pval) |
static int |
l_dnaGetDValue(lept.L_DNA da,
int index,
DoublePointer pval) |
static IntPointer |
l_dnaGetIArray(lept.L_DNA da) |
static int |
l_dnaGetIValue(lept.L_DNA da,
int index,
int[] pival) |
static int |
l_dnaGetIValue(lept.L_DNA da,
int index,
IntBuffer pival) |
static int |
l_dnaGetIValue(lept.L_DNA da,
int index,
IntPointer pival) |
static int |
l_dnaGetParameters(lept.L_DNA da,
double[] pstartx,
double[] pdelx) |
static int |
l_dnaGetParameters(lept.L_DNA da,
DoubleBuffer pstartx,
DoubleBuffer pdelx) |
static int |
l_dnaGetParameters(lept.L_DNA da,
DoublePointer pstartx,
DoublePointer pdelx) |
static int |
l_dnaGetRefcount(lept.L_DNA da) |
static int |
l_dnaInsertNumber(lept.L_DNA da,
int index,
double val) |
static int |
l_dnaJoin(lept.L_DNA dad,
lept.L_DNA das,
int istart,
int iend) |
static lept.L_DNA |
l_dnaMakeDelta(lept.L_DNA das) |
static lept.L_DNA |
l_dnaMakeSequence(double startval,
double increment,
int size) |
static lept.L_DNA |
l_dnaRead(BytePointer filename) |
static lept.L_DNA |
l_dnaRead(String filename) |
static lept.L_DNA |
l_dnaReadStream(Pointer fp) |
static int |
l_dnaRemoveNumber(lept.L_DNA da,
int index) |
static int |
l_dnaReplaceNumber(lept.L_DNA da,
int index,
double val) |
static int |
l_dnaSetCount(lept.L_DNA da,
int newcount) |
static int |
l_dnaSetParameters(lept.L_DNA da,
double startx,
double delx) |
static int |
l_dnaSetValue(lept.L_DNA da,
int index,
double val) |
static int |
l_dnaShiftValue(lept.L_DNA da,
int index,
double diff) |
static int |
l_dnaWrite(BytePointer filename,
lept.L_DNA da) |
static int |
l_dnaWrite(String filename,
lept.L_DNA da) |
static int |
l_dnaWriteStream(Pointer fp,
lept.L_DNA da) |
static int |
l_generateCIData(BytePointer fname,
int type,
int quality,
int ascii85,
lept.L_COMP_DATA pcid) |
static int |
l_generateCIData(BytePointer fname,
int type,
int quality,
int ascii85,
PointerPointer pcid) |
static int |
l_generateCIData(String fname,
int type,
int quality,
int ascii85,
lept.L_COMP_DATA pcid) |
static int |
l_generateCIDataForPdf(BytePointer fname,
lept.PIX pix,
int quality,
lept.L_COMP_DATA pcid) |
static int |
l_generateCIDataForPdf(BytePointer fname,
lept.PIX pix,
int quality,
PointerPointer pcid) |
static int |
l_generateCIDataForPdf(String fname,
lept.PIX pix,
int quality,
lept.L_COMP_DATA pcid) |
static lept.L_COMP_DATA |
l_generateFlateData(BytePointer fname,
int ascii85flag) |
static lept.L_COMP_DATA |
l_generateFlateData(String fname,
int ascii85flag) |
static lept.L_COMP_DATA |
l_generateFlateDataPdf(BytePointer fname) |
static lept.L_COMP_DATA |
l_generateFlateDataPdf(String fname) |
static lept.L_COMP_DATA |
l_generateG4Data(BytePointer fname,
int ascii85flag) |
static lept.L_COMP_DATA |
l_generateG4Data(String fname,
int ascii85flag) |
static lept.L_COMP_DATA |
l_generateJpegData(BytePointer fname,
int ascii85flag) |
static lept.L_COMP_DATA |
l_generateJpegData(String fname,
int ascii85flag) |
static void |
l_getCurrentTime(int[] sec,
int[] usec) |
static void |
l_getCurrentTime(IntBuffer sec,
IntBuffer usec) |
static void |
l_getCurrentTime(IntPointer sec,
IntPointer usec) |
static int |
l_getDataBit(Pointer line,
int n) |
static int |
l_getDataByte(Pointer line,
int n) |
static int |
l_getDataDibit(Pointer line,
int n) |
static int |
l_getDataFourBytes(Pointer line,
int n) |
static int |
l_getDataQbit(Pointer line,
int n) |
static int |
l_getDataTwoBytes(Pointer line,
int n) |
static BytePointer |
l_getFormattedDate() |
static int |
L_GREEN_SHIFT() |
static float |
L_GREEN_WEIGHT() |
static int |
L_NOCOPY() |
static void |
l_pdfSetDateAndVersion(int flag) |
static void |
l_pdfSetG4ImageMask(int flag) |
static void |
l_pngSetReadStrip16To8(int flag) |
static int |
l_productMat2(float[] mat1,
float[] mat2,
float[] matd,
int size) |
static int |
l_productMat2(FloatBuffer mat1,
FloatBuffer mat2,
FloatBuffer matd,
int size) |
static int |
l_productMat2(FloatPointer mat1,
FloatPointer mat2,
FloatPointer matd,
int size) |
static int |
l_productMat3(float[] mat1,
float[] mat2,
float[] mat3,
float[] matd,
int size) |
static int |
l_productMat3(FloatBuffer mat1,
FloatBuffer mat2,
FloatBuffer mat3,
FloatBuffer matd,
int size) |
static int |
l_productMat3(FloatPointer mat1,
FloatPointer mat2,
FloatPointer mat3,
FloatPointer matd,
int size) |
static int |
l_productMat4(float[] mat1,
float[] mat2,
float[] mat3,
float[] mat4,
float[] matd,
int size) |
static int |
l_productMat4(FloatBuffer mat1,
FloatBuffer mat2,
FloatBuffer mat3,
FloatBuffer mat4,
FloatBuffer matd,
int size) |
static int |
l_productMat4(FloatPointer mat1,
FloatPointer mat2,
FloatPointer mat3,
FloatPointer mat4,
FloatPointer matd,
int size) |
static int |
l_productMatVec(float[] mat,
float[] vecs,
float[] vecd,
int size) |
static int |
l_productMatVec(FloatBuffer mat,
FloatBuffer vecs,
FloatBuffer vecd,
int size) |
static int |
l_productMatVec(FloatPointer mat,
FloatPointer vecs,
FloatPointer vecd,
int size) |
static void |
l_psWriteBoundingBox(int flag) |
static int |
L_RED_SHIFT() |
static float |
L_RED_WEIGHT() |
static void |
l_setAlphaMaskBorder(float val1,
float val2) |
static void |
l_setConvolveSampling(int xfact,
int yfact) |
static void |
l_setDataBit(Pointer line,
int n) |
static void |
l_setDataBitVal(Pointer line,
int n,
int val) |
static void |
l_setDataByte(Pointer line,
int n,
int val) |
static void |
l_setDataDibit(Pointer line,
int n,
int val) |
static void |
l_setDataFourBytes(Pointer line,
int n,
int val) |
static void |
l_setDataQbit(Pointer line,
int n,
int val) |
static void |
l_setDataTwoBytes(Pointer line,
int n,
int val) |
static Pointer |
lept_calloc(long nmemb,
long size) |
static int |
lept_cp(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
byte[] pnewpath) |
static int |
lept_cp(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
ByteBuffer pnewpath) |
static int |
lept_cp(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
BytePointer pnewpath) |
static int |
lept_cp(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
PointerPointer pnewpath) |
static int |
lept_cp(String srcfile,
String newdir,
String newtail,
byte[] pnewpath) |
static int |
lept_cp(String srcfile,
String newdir,
String newtail,
ByteBuffer pnewpath) |
static int |
lept_cp(String srcfile,
String newdir,
String newtail,
BytePointer pnewpath) |
static void |
lept_direxists(BytePointer dir,
int[] pexists) |
static void |
lept_direxists(BytePointer dir,
IntBuffer pexists) |
static void |
lept_direxists(BytePointer dir,
IntPointer pexists) |
static void |
lept_direxists(String dir,
int[] pexists) |
static void |
lept_direxists(String dir,
IntBuffer pexists) |
static void |
lept_direxists(String dir,
IntPointer pexists) |
static int |
lept_fclose(Pointer fp) |
static Pointer |
lept_fopen(BytePointer filename,
BytePointer mode) |
static Pointer |
lept_fopen(String filename,
String mode) |
static void |
lept_free(Pointer ptr) |
static int |
lept_mkdir(BytePointer subdir) |
static int |
lept_mkdir(String subdir) |
static int |
lept_mv(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
byte[] pnewpath) |
static int |
lept_mv(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
ByteBuffer pnewpath) |
static int |
lept_mv(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
BytePointer pnewpath) |
static int |
lept_mv(BytePointer srcfile,
BytePointer newdir,
BytePointer newtail,
PointerPointer pnewpath) |
static int |
lept_mv(String srcfile,
String newdir,
String newtail,
byte[] pnewpath) |
static int |
lept_mv(String srcfile,
String newdir,
String newtail,
ByteBuffer pnewpath) |
static int |
lept_mv(String srcfile,
String newdir,
String newtail,
BytePointer pnewpath) |
static int |
lept_rm_match(BytePointer subdir,
BytePointer substr) |
static int |
lept_rm_match(String subdir,
String substr) |
static int |
lept_rm(BytePointer subdir,
BytePointer tail) |
static int |
lept_rm(String subdir,
String tail) |
static int |
lept_rmdir(BytePointer subdir) |
static int |
lept_rmdir(String subdir) |
static int |
lept_rmfile(BytePointer filepath) |
static int |
lept_rmfile(String filepath) |
static int |
lept_roundftoi(float fval) |
static int |
LeptMsgSeverity() |
static void |
LeptMsgSeverity(int LeptMsgSeverity) |
static int |
lheapAdd(lept.L_HEAP lh,
Pointer item) |
static lept.L_HEAP |
lheapCreate(int nalloc,
int direction) |
static void |
lheapDestroy(lept.L_HEAP plh,
int freeflag) |
static void |
lheapDestroy(PointerPointer plh,
int freeflag) |
static int |
lheapGetCount(lept.L_HEAP lh) |
static int |
lheapPrint(Pointer fp,
lept.L_HEAP lh) |
static Pointer |
lheapRemove(lept.L_HEAP lh) |
static int |
lheapSort(lept.L_HEAP lh) |
static int |
lheapSortStrictOrder(lept.L_HEAP lh) |
static int |
lheapSwapDown(lept.L_HEAP lh) |
static int |
lheapSwapUp(lept.L_HEAP lh,
int index) |
static int |
linearInterpolatePixelColor(int[] datas,
int wpls,
int w,
int h,
float x,
float y,
int colorval,
int[] pval) |
static int |
linearInterpolatePixelColor(IntBuffer datas,
int wpls,
int w,
int h,
float x,
float y,
int colorval,
IntBuffer pval) |
static int |
linearInterpolatePixelColor(IntPointer datas,
int wpls,
int w,
int h,
float x,
float y,
int colorval,
IntPointer pval) |
static int |
linearInterpolatePixelFloat(float[] datas,
int w,
int h,
float x,
float y,
float inval,
float[] pval) |
static int |
linearInterpolatePixelFloat(FloatBuffer datas,
int w,
int h,
float x,
float y,
float inval,
FloatBuffer pval) |
static int |
linearInterpolatePixelFloat(FloatPointer datas,
int w,
int h,
float x,
float y,
float inval,
FloatPointer pval) |
static int |
linearInterpolatePixelGray(int[] datas,
int wpls,
int w,
int h,
float x,
float y,
int grayval,
int[] pval) |
static int |
linearInterpolatePixelGray(IntBuffer datas,
int wpls,
int w,
int h,
float x,
float y,
int grayval,
IntBuffer pval) |
static int |
linearInterpolatePixelGray(IntPointer datas,
int wpls,
int w,
int h,
float x,
float y,
int grayval,
IntPointer pval) |
static int |
lineEndianByteSwap(int[] datad,
int[] datas,
int wpl) |
static int |
lineEndianByteSwap(IntBuffer datad,
IntBuffer datas,
int wpl) |
static int |
lineEndianByteSwap(IntPointer datad,
IntPointer datas,
int wpl) |
static int |
listAddToHead(lept.DLLIST phead,
Pointer data) |
static int |
listAddToHead(PointerPointer phead,
Pointer data) |
static int |
listAddToTail(lept.DLLIST phead,
lept.DLLIST ptail,
Pointer data) |
static int |
listAddToTail(PointerPointer phead,
PointerPointer ptail,
Pointer data) |
static void |
listDestroy(lept.DLLIST phead) |
static void |
listDestroy(PointerPointer phead) |
static lept.DLLIST |
listFindElement(lept.DLLIST head,
Pointer data) |
static lept.DLLIST |
listFindTail(lept.DLLIST head) |
static int |
listGetCount(lept.DLLIST head) |
static int |
listInsertAfter(lept.DLLIST phead,
lept.DLLIST elem,
Pointer data) |
static int |
listInsertAfter(PointerPointer phead,
lept.DLLIST elem,
Pointer data) |
static int |
listInsertBefore(lept.DLLIST phead,
lept.DLLIST elem,
Pointer data) |
static int |
listInsertBefore(PointerPointer phead,
lept.DLLIST elem,
Pointer data) |
static int |
listJoin(lept.DLLIST phead1,
lept.DLLIST phead2) |
static int |
listJoin(PointerPointer phead1,
PointerPointer phead2) |
static Pointer |
listRemoveElement(lept.DLLIST phead,
lept.DLLIST elem) |
static Pointer |
listRemoveElement(PointerPointer phead,
lept.DLLIST elem) |
static Pointer |
listRemoveFromHead(lept.DLLIST phead) |
static Pointer |
listRemoveFromHead(PointerPointer phead) |
static Pointer |
listRemoveFromTail(lept.DLLIST phead,
lept.DLLIST ptail) |
static Pointer |
listRemoveFromTail(PointerPointer phead,
PointerPointer ptail) |
static int |
listReverse(lept.DLLIST phead) |
static int |
listReverse(PointerPointer phead) |
static void |
locateOutsideSeedPixel(int fpx,
int fpy,
int spx,
int spy,
int[] pxs,
int[] pys) |
static void |
locateOutsideSeedPixel(int fpx,
int fpy,
int spx,
int spy,
IntBuffer pxs,
IntBuffer pys) |
static void |
locateOutsideSeedPixel(int fpx,
int fpy,
int spx,
int spy,
IntPointer pxs,
IntPointer pys) |
static int |
locatePtRadially(int xr,
int yr,
double dist,
double radang,
double[] px,
double[] py) |
static int |
locatePtRadially(int xr,
int yr,
double dist,
double radang,
DoubleBuffer px,
DoubleBuffer py) |
static int |
locatePtRadially(int xr,
int yr,
double dist,
double radang,
DoublePointer px,
DoublePointer py) |
static int |
lqueueAdd(lept.L_QUEUE lq,
Pointer item) |
static lept.L_QUEUE |
lqueueCreate(int nalloc) |
static void |
lqueueDestroy(lept.L_QUEUE plq,
int freeflag) |
static void |
lqueueDestroy(PointerPointer plq,
int freeflag) |
static int |
lqueueGetCount(lept.L_QUEUE lq) |
static int |
lqueuePrint(Pointer fp,
lept.L_QUEUE lq) |
static Pointer |
lqueueRemove(lept.L_QUEUE lq) |
static int |
lstackAdd(lept.L_STACK lstack,
Pointer item) |
static lept.L_STACK |
lstackCreate(int nalloc) |
static void |
lstackDestroy(lept.L_STACK plstack,
int freeflag) |
static void |
lstackDestroy(PointerPointer plstack,
int freeflag) |
static int |
lstackGetCount(lept.L_STACK lstack) |
static int |
lstackPrint(Pointer fp,
lept.L_STACK lstack) |
static Pointer |
lstackRemove(lept.L_STACK lstack) |
static int |
make8To1DitherTables(int[] ptabval,
int[] ptab38,
int[] ptab14,
int lowerclip,
int upperclip) |
static int |
make8To1DitherTables(IntBuffer ptabval,
IntBuffer ptab38,
IntBuffer ptab14,
int lowerclip,
int upperclip) |
static int |
make8To1DitherTables(IntPointer ptabval,
IntPointer ptab38,
IntPointer ptab14,
int lowerclip,
int upperclip) |
static int |
make8To1DitherTables(PointerPointer ptabval,
PointerPointer ptab38,
PointerPointer ptab14,
int lowerclip,
int upperclip) |
static int |
make8To2DitherTables(int[] ptabval,
int[] ptab38,
int[] ptab14,
int cliptoblack,
int cliptowhite) |
static int |
make8To2DitherTables(IntBuffer ptabval,
IntBuffer ptab38,
IntBuffer ptab14,
int cliptoblack,
int cliptowhite) |
static int |
make8To2DitherTables(IntPointer ptabval,
IntPointer ptab38,
IntPointer ptab14,
int cliptoblack,
int cliptowhite) |
static int |
make8To2DitherTables(PointerPointer ptabval,
PointerPointer ptab38,
PointerPointer ptab14,
int cliptoblack,
int cliptowhite) |
static lept.L_KERNEL |
makeDoGKernel(int halfheight,
int halfwidth,
float stdev,
float ratio) |
static lept.L_KERNEL |
makeFlatKernel(int height,
int width,
int cy,
int cx) |
static lept.L_KERNEL |
makeGaussianKernel(int halfheight,
int halfwidth,
float stdev,
float max) |
static int |
makeGaussianKernelSep(int halfheight,
int halfwidth,
float stdev,
float max,
lept.L_KERNEL pkelx,
lept.L_KERNEL pkely) |
static int |
makeGaussianKernelSep(int halfheight,
int halfwidth,
float stdev,
float max,
PointerPointer pkelx,
PointerPointer pkely) |
static int |
makeGrayQuantColormapArb(lept.PIX pixs,
int[] tab,
int outdepth,
lept.PIXCMAP pcmap) |
static int |
makeGrayQuantColormapArb(lept.PIX pixs,
IntBuffer tab,
int outdepth,
lept.PIXCMAP pcmap) |
static int |
makeGrayQuantColormapArb(lept.PIX pixs,
IntPointer tab,
int outdepth,
lept.PIXCMAP pcmap) |
static int |
makeGrayQuantColormapArb(lept.PIX pixs,
IntPointer tab,
int outdepth,
PointerPointer pcmap) |
static IntPointer |
makeGrayQuantIndexTable(int nlevels) |
static int |
makeGrayQuantTableArb(lept.NUMA na,
int outdepth,
int[] ptab,
lept.PIXCMAP pcmap) |
static int |
makeGrayQuantTableArb(lept.NUMA na,
int outdepth,
IntBuffer ptab,
lept.PIXCMAP pcmap) |
static int |
makeGrayQuantTableArb(lept.NUMA na,
int outdepth,
IntPointer ptab,
lept.PIXCMAP pcmap) |
static int |
makeGrayQuantTableArb(lept.NUMA na,
int outdepth,
PointerPointer ptab,
PointerPointer pcmap) |
static IntPointer |
makeGrayQuantTargetTable(int nlevels,
int depth) |
static FloatPointer |
makeLogBase2Tab() |
static lept.BOXA |
makeMosaicStrips(int w,
int h,
int direction,
int size) |
static IntPointer |
makeMSBitLocTab(int bitval) |
static int |
makeOrientDecision(float upconf,
float leftconf,
float minupconf,
float minratio,
int[] porient,
int debug) |
static int |
makeOrientDecision(float upconf,
float leftconf,
float minupconf,
float minratio,
IntBuffer porient,
int debug) |
static int |
makeOrientDecision(float upconf,
float leftconf,
float minupconf,
float minratio,
IntPointer porient,
int debug) |
static IntPointer |
makePixelCentroidTab8() |
static IntPointer |
makePixelSumTab8() |
static lept.PTA |
makePlotPtaFromNuma(lept.NUMA na,
int size,
int plotloc,
int linewidth,
int max) |
static lept.PTA |
makePlotPtaFromNumaGen(lept.NUMA na,
int orient,
int linewidth,
int refpos,
int max,
int drawref) |
static lept.L_KERNEL |
makeRangeKernel(float range_stdev) |
static int |
makeRGBIndexTables(int[] prtab,
int[] pgtab,
int[] pbtab,
int sigbits) |
static int |
makeRGBIndexTables(IntBuffer prtab,
IntBuffer pgtab,
IntBuffer pbtab,
int sigbits) |
static int |
makeRGBIndexTables(IntPointer prtab,
IntPointer pgtab,
IntPointer pbtab,
int sigbits) |
static int |
makeRGBIndexTables(PointerPointer prtab,
PointerPointer pgtab,
PointerPointer pbtab,
int sigbits) |
static int |
makeRGBToIndexTables(int[] prtab,
int[] pgtab,
int[] pbtab,
int cqlevels) |
static int |
makeRGBToIndexTables(IntBuffer prtab,
IntBuffer pgtab,
IntBuffer pbtab,
int cqlevels) |
static int |
makeRGBToIndexTables(IntPointer prtab,
IntPointer pgtab,
IntPointer pbtab,
int cqlevels) |
static int |
makeRGBToIndexTables(PointerPointer prtab,
PointerPointer pgtab,
PointerPointer pbtab,
int cqlevels) |
static BytePointer |
makeSubsampleTab2x() |
static IntPointer |
makeSumTabSG2() |
static IntPointer |
makeSumTabSG3() |
static IntPointer |
makeSumTabSG4() |
static int |
makeTempDirname(byte[] result,
long nbytes,
BytePointer subdir) |
static int |
makeTempDirname(byte[] result,
long nbytes,
String subdir) |
static int |
makeTempDirname(ByteBuffer result,
long nbytes,
BytePointer subdir) |
static int |
makeTempDirname(ByteBuffer result,
long nbytes,
String subdir) |
static int |
makeTempDirname(BytePointer result,
long nbytes,
BytePointer subdir) |
static int |
makeTempDirname(BytePointer result,
long nbytes,
String subdir) |
static BytePointer |
makeValTabSG2() |
static BytePointer |
makeValTabSG3() |
static BytePointer |
makeValTabSG4() |
static BytePointer |
makeValTabSG6() |
static BytePointer |
makeValTabSG8() |
static int |
modifyTrailingSlash(byte[] path,
long nbytes,
int flag) |
static int |
modifyTrailingSlash(ByteBuffer path,
long nbytes,
int flag) |
static int |
modifyTrailingSlash(BytePointer path,
long nbytes,
int flag) |
static int |
morphSequenceVerify(lept.SARRAY sa) |
static long |
nbytesInFile(BytePointer filename) |
static long |
nbytesInFile(String filename) |
static int |
nextOnPixelInRaster(lept.PIX pixs,
int xstart,
int ystart,
int[] px,
int[] py) |
static int |
nextOnPixelInRaster(lept.PIX pixs,
int xstart,
int ystart,
IntBuffer px,
IntBuffer py) |
static int |
nextOnPixelInRaster(lept.PIX pixs,
int xstart,
int ystart,
IntPointer px,
IntPointer py) |
static int |
nextOnPixelInRasterLow(int[] data,
int w,
int h,
int wpl,
int xstart,
int ystart,
int[] px,
int[] py) |
static int |
nextOnPixelInRasterLow(IntBuffer data,
int w,
int h,
int wpl,
int xstart,
int ystart,
IntBuffer px,
IntBuffer py) |
static int |
nextOnPixelInRasterLow(IntPointer data,
int w,
int h,
int wpl,
int xstart,
int ystart,
IntPointer px,
IntPointer py) |
static int |
numa2dAddNumber(lept.NUMA2D na2d,
int row,
int col,
float val) |
static lept.NUMA2D |
numa2dCreate(int nrows,
int ncols,
int initsize) |
static void |
numa2dDestroy(lept.NUMA2D pna2d) |
static void |
numa2dDestroy(PointerPointer pna2d) |
static int |
numa2dGetCount(lept.NUMA2D na2d,
int row,
int col) |
static int |
numa2dGetFValue(lept.NUMA2D na2d,
int row,
int col,
int index,
float[] pval) |
static int |
numa2dGetFValue(lept.NUMA2D na2d,
int row,
int col,
int index,
FloatBuffer pval) |
static int |
numa2dGetFValue(lept.NUMA2D na2d,
int row,
int col,
int index,
FloatPointer pval) |
static int |
numa2dGetIValue(lept.NUMA2D na2d,
int row,
int col,
int index,
int[] pval) |
static int |
numa2dGetIValue(lept.NUMA2D na2d,
int row,
int col,
int index,
IntBuffer pval) |
static int |
numa2dGetIValue(lept.NUMA2D na2d,
int row,
int col,
int index,
IntPointer pval) |
static lept.NUMA |
numa2dGetNuma(lept.NUMA2D na2d,
int row,
int col) |
static int |
numaaAddNuma(lept.NUMAA naa,
lept.NUMA na,
int copyflag) |
static int |
numaaAddNumber(lept.NUMAA naa,
int index,
float val) |
static int |
numaaCompareImagesByBoxes(lept.NUMAA naa1,
lept.NUMAA naa2,
int nperline,
int nreq,
int maxshiftx,
int maxshifty,
int delx,
int dely,
int[] psame,
int debugflag) |
static int |
numaaCompareImagesByBoxes(lept.NUMAA naa1,
lept.NUMAA naa2,
int nperline,
int nreq,
int maxshiftx,
int maxshifty,
int delx,
int dely,
IntBuffer psame,
int debugflag) |
static int |
numaaCompareImagesByBoxes(lept.NUMAA naa1,
lept.NUMAA naa2,
int nperline,
int nreq,
int maxshiftx,
int maxshifty,
int delx,
int dely,
IntPointer psame,
int debugflag) |
static lept.NUMAA |
numaaCreate(int n) |
static lept.NUMAA |
numaaCreateFull(int ntop,
int n) |
static lept.NUMA |
numaAddBorder(lept.NUMA nas,
int left,
int right,
float val) |
static int |
numaAddNumber(lept.NUMA na,
float val) |
static lept.NUMA |
numaAddSpecifiedBorder(lept.NUMA nas,
int left,
int right,
int type) |
static int |
numaAddToNumber(lept.NUMA na,
int index,
float val) |
static void |
numaaDestroy(lept.NUMAA pnaa) |
static void |
numaaDestroy(PointerPointer pnaa) |
static int |
numaaExtendArray(lept.NUMAA naa) |
static lept.NUMA |
numaaFlattenToNuma(lept.NUMAA naa) |
static int |
numaaGetCount(lept.NUMAA naa) |
static lept.NUMA |
numaaGetNuma(lept.NUMAA naa,
int index,
int accessflag) |
static int |
numaaGetNumaCount(lept.NUMAA naa,
int index) |
static int |
numaaGetNumberCount(lept.NUMAA naa) |
static PointerPointer |
numaaGetPtrArray(lept.NUMAA naa) |
static int |
numaaGetValue(lept.NUMAA naa,
int i,
int j,
float[] pfval,
int[] pival) |
static int |
numaaGetValue(lept.NUMAA naa,
int i,
int j,
FloatBuffer pfval,
IntBuffer pival) |
static int |
numaaGetValue(lept.NUMAA naa,
int i,
int j,
FloatPointer pfval,
IntPointer pival) |
static int |
numaaJoin(lept.NUMAA naad,
lept.NUMAA naas,
int istart,
int iend) |
static lept.NUMAA |
numaaRead(BytePointer filename) |
static lept.NUMAA |
numaaRead(String filename) |
static lept.NUMAA |
numaaReadStream(Pointer fp) |
static int |
numaaReplaceNuma(lept.NUMAA naa,
int index,
lept.NUMA na) |
static lept.NUMA |
numaArithOp(lept.NUMA nad,
lept.NUMA na1,
lept.NUMA na2,
int op) |
static int |
numaaTruncate(lept.NUMAA naa) |
static int |
numaaWrite(BytePointer filename,
lept.NUMAA naa) |
static int |
numaaWrite(String filename,
lept.NUMAA naa) |
static int |
numaaWriteStream(Pointer fp,
lept.NUMAA naa) |
static lept.NUMA |
numaBinSort(lept.NUMA nas,
int sortorder) |
static int |
numaChangeRefcount(lept.NUMA na,
int delta) |
static int |
numaChooseSortType(lept.NUMA nas) |
static lept.NUMA |
numaClipToInterval(lept.NUMA nas,
int first,
int last) |
static lept.NUMA |
numaClone(lept.NUMA na) |
static lept.NUMA |
numaClose(lept.NUMA nas,
int size) |
static lept.NUMA |
numaContrastTRC(float factor) |
static lept.L_DNA |
numaConvertToDna(lept.NUMA na) |
static lept.NUMA |
numaConvertToInt(lept.NUMA nas) |
static lept.SARRAY |
numaConvertToSarray(lept.NUMA na,
int size1,
int size2,
int addzeros,
int type) |
static lept.NUMA |
numaCopy(lept.NUMA na) |
static int |
numaCopyParameters(lept.NUMA nad,
lept.NUMA nas) |
static int |
numaCountReversals(lept.NUMA nas,
float minreversal,
int[] pnr,
float[] pnrpl) |
static int |
numaCountReversals(lept.NUMA nas,
float minreversal,
IntBuffer pnr,
FloatBuffer pnrpl) |
static int |
numaCountReversals(lept.NUMA nas,
float minreversal,
IntPointer pnr,
FloatPointer pnrpl) |
static lept.NUMA |
numaCreate(int n) |
static lept.NUMA |
numaCreateFromFArray(float[] farray,
int size,
int copyflag) |
static lept.NUMA |
numaCreateFromFArray(FloatBuffer farray,
int size,
int copyflag) |
static lept.NUMA |
numaCreateFromFArray(FloatPointer farray,
int size,
int copyflag) |
static lept.NUMA |
numaCreateFromIArray(int[] iarray,
int size) |
static lept.NUMA |
numaCreateFromIArray(IntBuffer iarray,
int size) |
static lept.NUMA |
numaCreateFromIArray(IntPointer iarray,
int size) |
static lept.NUMA |
numaCrossingsByPeaks(lept.NUMA nax,
lept.NUMA nay,
float delta) |
static lept.NUMA |
numaCrossingsByThreshold(lept.NUMA nax,
lept.NUMA nay,
float thresh) |
static void |
numaDestroy(lept.NUMA pna) |
static void |
numaDestroy(PointerPointer pna) |
static int |
numaDifferentiateInterval(lept.NUMA nax,
lept.NUMA nay,
float x0,
float x1,
int npts,
lept.NUMA pnadx,
lept.NUMA pnady) |
static int |
numaDifferentiateInterval(lept.NUMA nax,
lept.NUMA nay,
float x0,
float x1,
int npts,
PointerPointer pnadx,
PointerPointer pnady) |
static lept.NUMA |
numaDilate(lept.NUMA nas,
int size) |
static int |
numaDiscretizeRankAndIntensity(lept.NUMA na,
int nbins,
lept.NUMA pnarbin,
lept.NUMA pnam,
lept.NUMA pnar,
lept.NUMA pnabb) |
static int |
numaDiscretizeRankAndIntensity(lept.NUMA na,
int nbins,
PointerPointer pnarbin,
PointerPointer pnam,
PointerPointer pnar,
PointerPointer pnabb) |
static int |
numaEarthMoverDistance(lept.NUMA na1,
lept.NUMA na2,
float[] pdist) |
static int |
numaEarthMoverDistance(lept.NUMA na1,
lept.NUMA na2,
FloatBuffer pdist) |
static int |
numaEarthMoverDistance(lept.NUMA na1,
lept.NUMA na2,
FloatPointer pdist) |
static int |
numaEmpty(lept.NUMA na) |
static lept.NUMA |
numaEqualizeTRC(lept.PIX pix,
float fract,
int factor) |
static lept.NUMA |
numaErode(lept.NUMA nas,
int size) |
static int |
numaEvalBestHaarParameters(lept.NUMA nas,
float relweight,
int nwidth,
int nshift,
float minwidth,
float maxwidth,
float[] pbestwidth,
float[] pbestshift,
float[] pbestscore) |
static int |
numaEvalBestHaarParameters(lept.NUMA nas,
float relweight,
int nwidth,
int nshift,
float minwidth,
float maxwidth,
FloatBuffer pbestwidth,
FloatBuffer pbestshift,
FloatBuffer pbestscore) |
static int |
numaEvalBestHaarParameters(lept.NUMA nas,
float relweight,
int nwidth,
int nshift,
float minwidth,
float maxwidth,
FloatPointer pbestwidth,
FloatPointer pbestshift,
FloatPointer pbestscore) |
static int |
numaEvalHaarSum(lept.NUMA nas,
float width,
float shift,
float relweight,
float[] pscore) |
static int |
numaEvalHaarSum(lept.NUMA nas,
float width,
float shift,
float relweight,
FloatBuffer pscore) |
static int |
numaEvalHaarSum(lept.NUMA nas,
float width,
float shift,
float relweight,
FloatPointer pscore) |
static lept.NUMA |
numaFindExtrema(lept.NUMA nas,
float delta) |
static lept.NUMA |
numaFindPeaks(lept.NUMA nas,
int nmax,
float fract1,
float fract2) |
static int |
numaFitMax(lept.NUMA na,
float[] pmaxval,
lept.NUMA naloc,
float[] pmaxloc) |
static int |
numaFitMax(lept.NUMA na,
FloatBuffer pmaxval,
lept.NUMA naloc,
FloatBuffer pmaxloc) |
static int |
numaFitMax(lept.NUMA na,
FloatPointer pmaxval,
lept.NUMA naloc,
FloatPointer pmaxloc) |
static lept.NUMA |
numaGammaTRC(float gamma,
int minval,
int maxval) |
static int |
numaGetBinnedMedian(lept.NUMA na,
int[] pval) |
static int |
numaGetBinnedMedian(lept.NUMA na,
IntBuffer pval) |
static int |
numaGetBinnedMedian(lept.NUMA na,
IntPointer pval) |
static lept.NUMA |
numaGetBinSortIndex(lept.NUMA nas,
int sortorder) |
static int |
numaGetCount(lept.NUMA na) |
static int |
numaGetCountRelativeToZero(lept.NUMA na,
int type,
int[] pcount) |
static int |
numaGetCountRelativeToZero(lept.NUMA na,
int type,
IntBuffer pcount) |
static int |
numaGetCountRelativeToZero(lept.NUMA na,
int type,
IntPointer pcount) |
static int |
numaGetEdgeValues(lept.NUMA na,
int edge,
int[] pstart,
int[] pend,
int[] psign) |
static int |
numaGetEdgeValues(lept.NUMA na,
int edge,
IntBuffer pstart,
IntBuffer pend,
IntBuffer psign) |
static int |
numaGetEdgeValues(lept.NUMA na,
int edge,
IntPointer pstart,
IntPointer pend,
IntPointer psign) |
static FloatPointer |
numaGetFArray(lept.NUMA na,
int copyflag) |
static int |
numaGetFValue(lept.NUMA na,
int index,
float[] pval) |
static int |
numaGetFValue(lept.NUMA na,
int index,
FloatBuffer pval) |
static int |
numaGetFValue(lept.NUMA na,
int index,
FloatPointer pval) |
static int |
numaGetHistogramStats(lept.NUMA nahisto,
float startx,
float deltax,
float[] pxmean,
float[] pxmedian,
float[] pxmode,
float[] pxvariance) |
static int |
numaGetHistogramStats(lept.NUMA nahisto,
float startx,
float deltax,
FloatBuffer pxmean,
FloatBuffer pxmedian,
FloatBuffer pxmode,
FloatBuffer pxvariance) |
static int |
numaGetHistogramStats(lept.NUMA nahisto,
float startx,
float deltax,
FloatPointer pxmean,
FloatPointer pxmedian,
FloatPointer pxmode,
FloatPointer pxvariance) |
static int |
numaGetHistogramStatsOnInterval(lept.NUMA nahisto,
float startx,
float deltax,
int ifirst,
int ilast,
float[] pxmean,
float[] pxmedian,
float[] pxmode,
float[] pxvariance) |
static int |
numaGetHistogramStatsOnInterval(lept.NUMA nahisto,
float startx,
float deltax,
int ifirst,
int ilast,
FloatBuffer pxmean,
FloatBuffer pxmedian,
FloatBuffer pxmode,
FloatBuffer pxvariance) |
static int |
numaGetHistogramStatsOnInterval(lept.NUMA nahisto,
float startx,
float deltax,
int ifirst,
int ilast,
FloatPointer pxmean,
FloatPointer pxmedian,
FloatPointer pxmode,
FloatPointer pxvariance) |
static IntPointer |
numaGetIArray(lept.NUMA na) |
static int |
numaGetIValue(lept.NUMA na,
int index,
int[] pival) |
static int |
numaGetIValue(lept.NUMA na,
int index,
IntBuffer pival) |
static int |
numaGetIValue(lept.NUMA na,
int index,
IntPointer pival) |
static int |
numaGetMax(lept.NUMA na,
float[] pmaxval,
int[] pimaxloc) |
static int |
numaGetMax(lept.NUMA na,
FloatBuffer pmaxval,
IntBuffer pimaxloc) |
static int |
numaGetMax(lept.NUMA na,
FloatPointer pmaxval,
IntPointer pimaxloc) |
static int |
numaGetMedian(lept.NUMA na,
float[] pval) |
static int |
numaGetMedian(lept.NUMA na,
FloatBuffer pval) |
static int |
numaGetMedian(lept.NUMA na,
FloatPointer pval) |
static int |
numaGetMedianVariation(lept.NUMA na,
float[] pmedval,
float[] pmedvar) |
static int |
numaGetMedianVariation(lept.NUMA na,
FloatBuffer pmedval,
FloatBuffer pmedvar) |
static int |
numaGetMedianVariation(lept.NUMA na,
FloatPointer pmedval,
FloatPointer pmedvar) |
static int |
numaGetMin(lept.NUMA na,
float[] pminval,
int[] piminloc) |
static int |
numaGetMin(lept.NUMA na,
FloatBuffer pminval,
IntBuffer piminloc) |
static int |
numaGetMin(lept.NUMA na,
FloatPointer pminval,
IntPointer piminloc) |
static int |
numaGetMode(lept.NUMA na,
float[] pval,
int[] pcount) |
static int |
numaGetMode(lept.NUMA na,
FloatBuffer pval,
IntBuffer pcount) |
static int |
numaGetMode(lept.NUMA na,
FloatPointer pval,
IntPointer pcount) |
static int |
numaGetNonzeroRange(lept.NUMA na,
float eps,
int[] pfirst,
int[] plast) |
static int |
numaGetNonzeroRange(lept.NUMA na,
float eps,
IntBuffer pfirst,
IntBuffer plast) |
static int |
numaGetNonzeroRange(lept.NUMA na,
float eps,
IntPointer pfirst,
IntPointer plast) |
static int |
numaGetParameters(lept.NUMA na,
float[] pstartx,
float[] pdelx) |
static int |
numaGetParameters(lept.NUMA na,
FloatBuffer pstartx,
FloatBuffer pdelx) |
static int |
numaGetParameters(lept.NUMA na,
FloatPointer pstartx,
FloatPointer pdelx) |
static lept.NUMA |
numaGetPartialSums(lept.NUMA na) |
static int |
numaGetRankBinValues(lept.NUMA na,
int nbins,
lept.NUMA pnarbin,
lept.NUMA pnam) |
static int |
numaGetRankBinValues(lept.NUMA na,
int nbins,
PointerPointer pnarbin,
PointerPointer pnam) |
static int |
numaGetRankValue(lept.NUMA na,
float fract,
lept.NUMA nasort,
int usebins,
float[] pval) |
static int |
numaGetRankValue(lept.NUMA na,
float fract,
lept.NUMA nasort,
int usebins,
FloatBuffer pval) |
static int |
numaGetRankValue(lept.NUMA na,
float fract,
lept.NUMA nasort,
int usebins,
FloatPointer pval) |
static int |
numaGetRefcount(lept.NUMA na) |
static lept.NUMA |
numaGetSortIndex(lept.NUMA na,
int sortorder) |
static int |
numaGetSpanValues(lept.NUMA na,
int span,
int[] pstart,
int[] pend) |
static int |
numaGetSpanValues(lept.NUMA na,
int span,
IntBuffer pstart,
IntBuffer pend) |
static int |
numaGetSpanValues(lept.NUMA na,
int span,
IntPointer pstart,
IntPointer pend) |
static int |
numaGetStatsUsingHistogram(lept.NUMA na,
int maxbins,
float[] pmin,
float[] pmax,
float[] pmean,
float[] pvariance,
float[] pmedian,
float rank,
float[] prval,
lept.NUMA phisto) |
static int |
numaGetStatsUsingHistogram(lept.NUMA na,
int maxbins,
FloatBuffer pmin,
FloatBuffer pmax,
FloatBuffer pmean,
FloatBuffer pvariance,
FloatBuffer pmedian,
float rank,
FloatBuffer prval,
lept.NUMA phisto) |
static int |
numaGetStatsUsingHistogram(lept.NUMA na,
int maxbins,
FloatPointer pmin,
FloatPointer pmax,
FloatPointer pmean,
FloatPointer pvariance,
FloatPointer pmedian,
float rank,
FloatPointer prval,
lept.NUMA phisto) |
static int |
numaGetStatsUsingHistogram(lept.NUMA na,
int maxbins,
FloatPointer pmin,
FloatPointer pmax,
FloatPointer pmean,
FloatPointer pvariance,
FloatPointer pmedian,
float rank,
FloatPointer prval,
PointerPointer phisto) |
static int |
numaGetSum(lept.NUMA na,
float[] psum) |
static int |
numaGetSum(lept.NUMA na,
FloatBuffer psum) |
static int |
numaGetSum(lept.NUMA na,
FloatPointer psum) |
static int |
numaGetSumOnInterval(lept.NUMA na,
int first,
int last,
float[] psum) |
static int |
numaGetSumOnInterval(lept.NUMA na,
int first,
int last,
FloatBuffer psum) |
static int |
numaGetSumOnInterval(lept.NUMA na,
int first,
int last,
FloatPointer psum) |
static int |
numaHashAdd(lept.NUMAHASH nahash,
int key,
float value) |
static lept.NUMAHASH |
numaHashCreate(int nbuckets,
int initsize) |
static void |
numaHashDestroy(lept.NUMAHASH pnahash) |
static void |
numaHashDestroy(PointerPointer pnahash) |
static lept.NUMA |
numaHashGetNuma(lept.NUMAHASH nahash,
int key) |
static int |
numaHasOnlyIntegers(lept.NUMA na,
int maxsamples,
int[] pallints) |
static int |
numaHasOnlyIntegers(lept.NUMA na,
int maxsamples,
IntBuffer pallints) |
static int |
numaHasOnlyIntegers(lept.NUMA na,
int maxsamples,
IntPointer pallints) |
static int |
numaHistogramGetRankFromVal(lept.NUMA na,
float rval,
float[] prank) |
static int |
numaHistogramGetRankFromVal(lept.NUMA na,
float rval,
FloatBuffer prank) |
static int |
numaHistogramGetRankFromVal(lept.NUMA na,
float rval,
FloatPointer prank) |
static int |
numaHistogramGetValFromRank(lept.NUMA na,
float rank,
float[] prval) |
static int |
numaHistogramGetValFromRank(lept.NUMA na,
float rank,
FloatBuffer prval) |
static int |
numaHistogramGetValFromRank(lept.NUMA na,
float rank,
FloatPointer prval) |
static int |
numaInsertNumber(lept.NUMA na,
int index,
float val) |
static int |
numaIntegrateInterval(lept.NUMA nax,
lept.NUMA nay,
float x0,
float x1,
int npts,
float[] psum) |
static int |
numaIntegrateInterval(lept.NUMA nax,
lept.NUMA nay,
float x0,
float x1,
int npts,
FloatBuffer psum) |
static int |
numaIntegrateInterval(lept.NUMA nax,
lept.NUMA nay,
float x0,
float x1,
int npts,
FloatPointer psum) |
static int |
numaInterpolateArbxInterval(lept.NUMA nax,
lept.NUMA nay,
int type,
float x0,
float x1,
int npts,
lept.NUMA pnadx,
lept.NUMA pnady) |
static int |
numaInterpolateArbxInterval(lept.NUMA nax,
lept.NUMA nay,
int type,
float x0,
float x1,
int npts,
PointerPointer pnadx,
PointerPointer pnady) |
static int |
numaInterpolateArbxVal(lept.NUMA nax,
lept.NUMA nay,
int type,
float xval,
float[] pyval) |
static int |
numaInterpolateArbxVal(lept.NUMA nax,
lept.NUMA nay,
int type,
float xval,
FloatBuffer pyval) |
static int |
numaInterpolateArbxVal(lept.NUMA nax,
lept.NUMA nay,
int type,
float xval,
FloatPointer pyval) |
static int |
numaInterpolateEqxInterval(float startx,
float deltax,
lept.NUMA nasy,
int type,
float x0,
float x1,
int npts,
lept.NUMA pnax,
lept.NUMA pnay) |
static int |
numaInterpolateEqxInterval(float startx,
float deltax,
lept.NUMA nasy,
int type,
float x0,
float x1,
int npts,
PointerPointer pnax,
PointerPointer pnay) |
static int |
numaInterpolateEqxVal(float startx,
float deltax,
lept.NUMA nay,
int type,
float xval,
float[] pyval) |
static int |
numaInterpolateEqxVal(float startx,
float deltax,
lept.NUMA nay,
int type,
float xval,
FloatBuffer pyval) |
static int |
numaInterpolateEqxVal(float startx,
float deltax,
lept.NUMA nay,
int type,
float xval,
FloatPointer pyval) |
static lept.NUMA |
numaInvert(lept.NUMA nad,
lept.NUMA nas) |
static lept.NUMA |
numaInvertMap(lept.NUMA nas) |
static int |
numaIsSorted(lept.NUMA nas,
int sortorder,
int[] psorted) |
static int |
numaIsSorted(lept.NUMA nas,
int sortorder,
IntBuffer psorted) |
static int |
numaIsSorted(lept.NUMA nas,
int sortorder,
IntPointer psorted) |
static int |
numaJoin(lept.NUMA nad,
lept.NUMA nas,
int istart,
int iend) |
static lept.NUMA |
numaLogicalOp(lept.NUMA nad,
lept.NUMA na1,
lept.NUMA na2,
int op) |
static lept.NUMA |
numaLowPassIntervals(lept.NUMA nas,
float thresh,
float maxn) |
static lept.NUMA |
numaMakeAbsValue(lept.NUMA nad,
lept.NUMA nas) |
static lept.NUMA |
numaMakeConstant(float val,
int size) |
static lept.NUMA |
numaMakeDelta(lept.NUMA nas) |
static lept.NUMA |
numaMakeHistogram(lept.NUMA na,
int maxbins,
int[] pbinsize,
int[] pbinstart) |
static lept.NUMA |
numaMakeHistogram(lept.NUMA na,
int maxbins,
IntBuffer pbinsize,
IntBuffer pbinstart) |
static lept.NUMA |
numaMakeHistogram(lept.NUMA na,
int maxbins,
IntPointer pbinsize,
IntPointer pbinstart) |
static lept.NUMA |
numaMakeHistogramAuto(lept.NUMA na,
int maxbins) |
static lept.NUMA |
numaMakeHistogramClipped(lept.NUMA na,
float binsize,
float maxsize) |
static int |
numaMakeRankFromHistogram(float startx,
float deltax,
lept.NUMA nasy,
int npts,
lept.NUMA pnax,
lept.NUMA pnay) |
static int |
numaMakeRankFromHistogram(float startx,
float deltax,
lept.NUMA nasy,
int npts,
PointerPointer pnax,
PointerPointer pnay) |
static lept.NUMA |
numaMakeSequence(float startval,
float increment,
int size) |
static lept.NUMA |
numaMakeThresholdIndicator(lept.NUMA nas,
float thresh,
int type) |
static lept.NUMA |
numaNormalizeHistogram(lept.NUMA nas,
float tsum) |
static lept.NUMA |
numaOpen(lept.NUMA nas,
int size) |
static lept.NUMA |
numaPseudorandomSequence(int size,
int seed) |
static lept.NUMA |
numaQuantizeCrossingsByWidth(lept.NUMA nas,
float binfract,
lept.NUMA pnaehist,
lept.NUMA pnaohist,
int debugflag) |
static lept.NUMA |
numaQuantizeCrossingsByWidth(lept.NUMA nas,
float binfract,
PointerPointer pnaehist,
PointerPointer pnaohist,
int debugflag) |
static lept.NUMA |
numaQuantizeCrossingsByWindow(lept.NUMA nas,
float ratio,
float[] pwidth,
float[] pfirstloc,
lept.NUMA pnac,
int debugflag) |
static lept.NUMA |
numaQuantizeCrossingsByWindow(lept.NUMA nas,
float ratio,
FloatBuffer pwidth,
FloatBuffer pfirstloc,
lept.NUMA pnac,
int debugflag) |
static lept.NUMA |
numaQuantizeCrossingsByWindow(lept.NUMA nas,
float ratio,
FloatPointer pwidth,
FloatPointer pfirstloc,
lept.NUMA pnac,
int debugflag) |
static lept.NUMA |
numaQuantizeCrossingsByWindow(lept.NUMA nas,
float ratio,
FloatPointer pwidth,
FloatPointer pfirstloc,
PointerPointer pnac,
int debugflag) |
static lept.NUMA |
numaRandomPermutation(lept.NUMA nas,
int seed) |
static lept.NUMA |
numaRead(BytePointer filename) |
static lept.NUMA |
numaRead(String filename) |
static lept.NUMA |
numaReadStream(Pointer fp) |
static lept.NUMA |
numaRebinHistogram(lept.NUMA nas,
int newsize) |
static lept.NUMA |
numaRemoveBorder(lept.NUMA nas,
int left,
int right) |
static int |
numaRemoveNumber(lept.NUMA na,
int index) |
static int |
numaReplaceNumber(lept.NUMA na,
int index,
float val) |
static lept.NUMA |
numaReverse(lept.NUMA nad,
lept.NUMA nas) |
static int |
numaSelectCrossingThreshold(lept.NUMA nax,
lept.NUMA nay,
float estthresh,
float[] pbestthresh) |
static int |
numaSelectCrossingThreshold(lept.NUMA nax,
lept.NUMA nay,
float estthresh,
FloatBuffer pbestthresh) |
static int |
numaSelectCrossingThreshold(lept.NUMA nax,
lept.NUMA nay,
float estthresh,
FloatPointer pbestthresh) |
static int |
numaSetCount(lept.NUMA na,
int newcount) |
static int |
numaSetParameters(lept.NUMA na,
float startx,
float delx) |
static int |
numaSetValue(lept.NUMA na,
int index,
float val) |
static int |
numaShiftValue(lept.NUMA na,
int index,
float diff) |
static int |
numaSimilar(lept.NUMA na1,
lept.NUMA na2,
float maxdiff,
int[] psimilar) |
static int |
numaSimilar(lept.NUMA na1,
lept.NUMA na2,
float maxdiff,
IntBuffer psimilar) |
static int |
numaSimilar(lept.NUMA na1,
lept.NUMA na2,
float maxdiff,
IntPointer psimilar) |
static lept.NUMA |
numaSort(lept.NUMA naout,
lept.NUMA nain,
int sortorder) |
static lept.NUMA |
numaSortAutoSelect(lept.NUMA nas,
int sortorder) |
static lept.NUMA |
numaSortByIndex(lept.NUMA nas,
lept.NUMA naindex) |
static int |
numaSortGeneral(lept.NUMA na,
lept.NUMA pnasort,
lept.NUMA pnaindex,
lept.NUMA pnainvert,
int sortorder,
int sorttype) |
static int |
numaSortGeneral(lept.NUMA na,
PointerPointer pnasort,
PointerPointer pnaindex,
PointerPointer pnainvert,
int sortorder,
int sorttype) |
static lept.NUMA |
numaSortIndexAutoSelect(lept.NUMA nas,
int sortorder) |
static int |
numaSortPair(lept.NUMA nax,
lept.NUMA nay,
int sortorder,
lept.NUMA pnasx,
lept.NUMA pnasy) |
static int |
numaSortPair(lept.NUMA nax,
lept.NUMA nay,
int sortorder,
PointerPointer pnasx,
PointerPointer pnasy) |
static int |
numaSplitDistribution(lept.NUMA na,
float scorefract,
int[] psplitindex,
float[] pave1,
float[] pave2,
float[] pnum1,
float[] pnum2,
lept.NUMA pnascore) |
static int |
numaSplitDistribution(lept.NUMA na,
float scorefract,
IntBuffer psplitindex,
FloatBuffer pave1,
FloatBuffer pave2,
FloatBuffer pnum1,
FloatBuffer pnum2,
lept.NUMA pnascore) |
static int |
numaSplitDistribution(lept.NUMA na,
float scorefract,
IntPointer psplitindex,
FloatPointer pave1,
FloatPointer pave2,
FloatPointer pnum1,
FloatPointer pnum2,
lept.NUMA pnascore) |
static int |
numaSplitDistribution(lept.NUMA na,
float scorefract,
IntPointer psplitindex,
FloatPointer pave1,
FloatPointer pave2,
FloatPointer pnum1,
FloatPointer pnum2,
PointerPointer pnascore) |
static lept.NUMA |
numaSubsample(lept.NUMA nas,
int subfactor) |
static lept.NUMA |
numaThresholdEdges(lept.NUMA nas,
float thresh1,
float thresh2,
float maxn) |
static lept.NUMA |
numaTransform(lept.NUMA nas,
float shift,
float scale) |
static lept.NUMA |
numaUniformSampling(lept.NUMA nas,
int nsamp) |
static lept.NUMA |
numaWindowedMean(lept.NUMA nas,
int wc) |
static lept.NUMA |
numaWindowedMeanSquare(lept.NUMA nas,
int wc) |
static int |
numaWindowedStats(lept.NUMA nas,
int wc,
lept.NUMA pnam,
lept.NUMA pnams,
lept.NUMA pnav,
lept.NUMA pnarv) |
static int |
numaWindowedStats(lept.NUMA nas,
int wc,
PointerPointer pnam,
PointerPointer pnams,
PointerPointer pnav,
PointerPointer pnarv) |
static int |
numaWindowedVariance(lept.NUMA nam,
lept.NUMA nams,
lept.NUMA pnav,
lept.NUMA pnarv) |
static int |
numaWindowedVariance(lept.NUMA nam,
lept.NUMA nams,
PointerPointer pnav,
PointerPointer pnarv) |
static int |
numaWrite(BytePointer filename,
lept.NUMA na) |
static int |
numaWrite(String filename,
lept.NUMA na) |
static int |
numaWriteStream(Pointer fp,
lept.NUMA na) |
static BytePointer |
parseForProtos(BytePointer filein,
BytePointer prestring) |
static ByteBuffer |
parseForProtos(String filein,
String prestring) |
static lept.NUMA |
parseStringForNumbers(BytePointer str,
BytePointer seps) |
static lept.NUMA |
parseStringForNumbers(String str,
String seps) |
static BytePointer |
pathJoin(BytePointer dir,
BytePointer fname) |
static ByteBuffer |
pathJoin(String dir,
String fname) |
static int |
PIX_SUBTRACT() |
static int |
pixaaAddBox(lept.PIXAA paa,
lept.BOX box,
int copyflag) |
static int |
pixaaAddPix(lept.PIXAA paa,
int index,
lept.PIX pix,
lept.BOX box,
int copyflag) |
static int |
pixaaAddPixa(lept.PIXAA paa,
lept.PIXA pixa,
int copyflag) |
static int |
pixaAccumulateSamples(lept.PIXA pixa,
lept.PTA pta,
lept.PIX ppixd,
float[] px,
float[] py) |
static int |
pixaAccumulateSamples(lept.PIXA pixa,
lept.PTA pta,
lept.PIX ppixd,
FloatBuffer px,
FloatBuffer py) |
static int |
pixaAccumulateSamples(lept.PIXA pixa,
lept.PTA pta,
lept.PIX ppixd,
FloatPointer px,
FloatPointer py) |
static int |
pixaAccumulateSamples(lept.PIXA pixa,
lept.PTA pta,
PointerPointer ppixd,
FloatPointer px,
FloatPointer py) |
static int |
pixaaClear(lept.PIXAA paa) |
static lept.PIXAA |
pixaaCreate(int n) |
static lept.PIXAA |
pixaaCreateFromPixa(lept.PIXA pixa,
int n,
int type,
int copyflag) |
static lept.PIXA |
pixaAddBorderGeneral(lept.PIXA pixad,
lept.PIXA pixas,
int left,
int right,
int top,
int bot,
int val) |
static int |
pixaAddBox(lept.PIXA pixa,
lept.BOX box,
int copyflag) |
static int |
pixaAddPix(lept.PIXA pixa,
lept.PIX pix,
int copyflag) |
static lept.PIXA |
pixaAddTextline(lept.PIXA pixas,
lept.L_BMF bmf,
lept.SARRAY sa,
int val,
int location) |
static lept.PIXA |
pixaAddTextNumber(lept.PIXA pixas,
lept.L_BMF bmf,
lept.NUMA na,
int val,
int location) |
static void |
pixaaDestroy(lept.PIXAA ppaa) |
static void |
pixaaDestroy(PointerPointer ppaa) |
static lept.PIX |
pixaaDisplay(lept.PIXAA paa,
int w,
int h) |
static lept.PIX |
pixaaDisplayByPixa(lept.PIXAA paa,
int xspace,
int yspace,
int maxw) |
static lept.PIXA |
pixaaDisplayTiledAndScaled(lept.PIXAA paa,
int outdepth,
int tilewidth,
int ncols,
int background,
int spacing,
int border) |
static int |
pixaaExtendArray(lept.PIXAA paa) |
static lept.PIXA |
pixaaFlattenToPixa(lept.PIXAA paa,
lept.NUMA pnaindex,
int copyflag) |
static lept.PIXA |
pixaaFlattenToPixa(lept.PIXAA paa,
PointerPointer pnaindex,
int copyflag) |
static lept.BOXA |
pixaaGetBoxa(lept.PIXAA paa,
int accesstype) |
static int |
pixaaGetCount(lept.PIXAA paa,
lept.NUMA pna) |
static int |
pixaaGetCount(lept.PIXAA paa,
PointerPointer pna) |
static lept.PIX |
pixaaGetPix(lept.PIXAA paa,
int index,
int ipix,
int accessflag) |
static lept.PIXA |
pixaaGetPixa(lept.PIXAA paa,
int index,
int accesstype) |
static int |
pixaaInitFull(lept.PIXAA paa,
lept.PIXA pixa) |
static int |
pixaaIsFull(lept.PIXAA paa,
int[] pfull) |
static int |
pixaaIsFull(lept.PIXAA paa,
IntBuffer pfull) |
static int |
pixaaIsFull(lept.PIXAA paa,
IntPointer pfull) |
static int |
pixaaJoin(lept.PIXAA paad,
lept.PIXAA paas,
int istart,
int iend) |
static int |
pixaAnyColormaps(lept.PIXA pixa,
int[] phascmap) |
static int |
pixaAnyColormaps(lept.PIXA pixa,
IntBuffer phascmap) |
static int |
pixaAnyColormaps(lept.PIXA pixa,
IntPointer phascmap) |
static lept.PIXAA |
pixaaRead(BytePointer filename) |
static lept.PIXAA |
pixaaRead(String filename) |
static lept.PIXAA |
pixaaReadFromFiles(BytePointer dirname,
BytePointer substr,
int first,
int nfiles) |
static lept.PIXAA |
pixaaReadFromFiles(String dirname,
String substr,
int first,
int nfiles) |
static lept.PIXAA |
pixaaReadStream(Pointer fp) |
static int |
pixaaReplacePixa(lept.PIXAA paa,
int index,
lept.PIXA pixa) |
static lept.PIXAA |
pixaaScaleToSize(lept.PIXAA paas,
int wd,
int hd) |
static lept.PIXAA |
pixaaScaleToSizeVar(lept.PIXAA paas,
lept.NUMA nawd,
lept.NUMA nahd) |
static lept.PIXAA |
pixaaSelectRange(lept.PIXAA paas,
int first,
int last,
int copyflag) |
static int |
pixaaSizeRange(lept.PIXAA paa,
int[] pminw,
int[] pminh,
int[] pmaxw,
int[] pmaxh) |
static int |
pixaaSizeRange(lept.PIXAA paa,
IntBuffer pminw,
IntBuffer pminh,
IntBuffer pmaxw,
IntBuffer pmaxh) |
static int |
pixaaSizeRange(lept.PIXAA paa,
IntPointer pminw,
IntPointer pminh,
IntPointer pmaxw,
IntPointer pmaxh) |
static int |
pixaaTruncate(lept.PIXAA paa) |
static int |
pixaaVerifyDepth(lept.PIXAA paa,
int[] pmaxdepth) |
static int |
pixaaVerifyDepth(lept.PIXAA paa,
IntBuffer pmaxdepth) |
static int |
pixaaVerifyDepth(lept.PIXAA paa,
IntPointer pmaxdepth) |
static int |
pixaaWrite(BytePointer filename,
lept.PIXAA paa) |
static int |
pixaaWrite(String filename,
lept.PIXAA paa) |
static int |
pixaaWriteStream(Pointer fp,
lept.PIXAA paa) |
static lept.PIXA |
pixaBinSort(lept.PIXA pixas,
int sorttype,
int sortorder,
lept.NUMA pnaindex,
int copyflag) |
static lept.PIXA |
pixaBinSort(lept.PIXA pixas,
int sorttype,
int sortorder,
PointerPointer pnaindex,
int copyflag) |
static lept.NUMA |
pixAbsDiffByColumn(lept.PIX pix,
lept.BOX box) |
static lept.NUMA |
pixAbsDiffByRow(lept.PIX pix,
lept.BOX box) |
static lept.PIX |
pixAbsDifference(lept.PIX pixs1,
lept.PIX pixs2) |
static int |
pixAbsDiffInRect(lept.PIX pix,
lept.BOX box,
int dir,
float[] pabsdiff) |
static int |
pixAbsDiffInRect(lept.PIX pix,
lept.BOX box,
int dir,
FloatBuffer pabsdiff) |
static int |
pixAbsDiffInRect(lept.PIX pix,
lept.BOX box,
int dir,
FloatPointer pabsdiff) |
static int |
pixAbsDiffOnLine(lept.PIX pix,
int x1,
int y1,
int x2,
int y2,
float[] pabsdiff) |
static int |
pixAbsDiffOnLine(lept.PIX pix,
int x1,
int y1,
int x2,
int y2,
FloatBuffer pabsdiff) |
static int |
pixAbsDiffOnLine(lept.PIX pix,
int x1,
int y1,
int x2,
int y2,
FloatPointer pabsdiff) |
static int |
pixaccAdd(lept.PIXACC pixacc,
lept.PIX pix) |
static lept.PIXACC |
pixaccCreate(int w,
int h,
int negflag) |
static lept.PIXACC |
pixaccCreateFromPix(lept.PIX pix,
int negflag) |
static void |
pixaccDestroy(lept.PIXACC ppixacc) |
static void |
pixaccDestroy(PointerPointer ppixacc) |
static lept.PIX |
pixaccFinal(lept.PIXACC pixacc,
int outdepth) |
static int |
pixaccGetOffset(lept.PIXACC pixacc) |
static lept.PIX |
pixaccGetPix(lept.PIXACC pixacc) |
static int |
pixaccMultConst(lept.PIXACC pixacc,
float factor) |
static int |
pixaccMultConstAccumulate(lept.PIXACC pixacc,
lept.PIX pix,
float factor) |
static int |
pixaccSubtract(lept.PIXACC pixacc,
lept.PIX pix) |
static int |
pixAccumulate(lept.PIX pixd,
lept.PIX pixs,
int op) |
static lept.PTA |
pixaCentroids(lept.PIXA pixa) |
static int |
pixaChangeRefcount(lept.PIXA pixa,
int delta) |
static int |
pixaClear(lept.PIXA pixa) |
static lept.PIXA |
pixaClipToPix(lept.PIXA pixas,
lept.PIX pixs) |
static int |
pixacompAddBox(lept.PIXAC pixac,
lept.BOX box,
int copyflag) |
static int |
pixacompAddPix(lept.PIXAC pixac,
lept.PIX pix,
int comptype) |
static int |
pixacompAddPixcomp(lept.PIXAC pixac,
lept.PIXC pixc) |
static int |
pixacompConvertToPdf(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer fileout) |
static int |
pixacompConvertToPdf(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
String title,
String fileout) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixacompConvertToPdfData(lept.PIXAC pixac,
int res,
float scalefactor,
int type,
int quality,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static lept.PIXAC |
pixacompCreate(int n) |
static lept.PIXAC |
pixacompCreateFromFiles(BytePointer dirname,
BytePointer substr,
int comptype) |
static lept.PIXAC |
pixacompCreateFromFiles(String dirname,
String substr,
int comptype) |
static lept.PIXAC |
pixacompCreateFromPixa(lept.PIXA pixa,
int comptype,
int accesstype) |
static lept.PIXAC |
pixacompCreateFromSA(lept.SARRAY sa,
int comptype) |
static lept.PIXAC |
pixacompCreateWithInit(int n,
int offset,
lept.PIX pix,
int comptype) |
static void |
pixacompDestroy(lept.PIXAC ppixac) |
static void |
pixacompDestroy(PointerPointer ppixac) |
static lept.PIX |
pixacompDisplayTiledAndScaled(lept.PIXAC pixac,
int outdepth,
int tilewidth,
int ncols,
int background,
int spacing,
int border) |
static lept.BOX |
pixacompGetBox(lept.PIXAC pixac,
int index,
int accesstype) |
static lept.BOXA |
pixacompGetBoxa(lept.PIXAC pixac,
int accesstype) |
static int |
pixacompGetBoxaCount(lept.PIXAC pixac) |
static int |
pixacompGetBoxGeometry(lept.PIXAC pixac,
int index,
int[] px,
int[] py,
int[] pw,
int[] ph) |
static int |
pixacompGetBoxGeometry(lept.PIXAC pixac,
int index,
IntBuffer px,
IntBuffer py,
IntBuffer pw,
IntBuffer ph) |
static int |
pixacompGetBoxGeometry(lept.PIXAC pixac,
int index,
IntPointer px,
IntPointer py,
IntPointer pw,
IntPointer ph) |
static int |
pixacompGetCount(lept.PIXAC pixac) |
static int |
pixacompGetOffset(lept.PIXAC pixac) |
static lept.PIX |
pixacompGetPix(lept.PIXAC pixac,
int index) |
static lept.PIXC |
pixacompGetPixcomp(lept.PIXAC pixac,
int index) |
static int |
pixacompGetPixDimensions(lept.PIXAC pixac,
int index,
int[] pw,
int[] ph,
int[] pd) |
static int |
pixacompGetPixDimensions(lept.PIXAC pixac,
int index,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd) |
static int |
pixacompGetPixDimensions(lept.PIXAC pixac,
int index,
IntPointer pw,
IntPointer ph,
IntPointer pd) |
static lept.PIXAC |
pixacompRead(BytePointer filename) |
static lept.PIXAC |
pixacompRead(String filename) |
static lept.PIXAC |
pixacompReadStream(Pointer fp) |
static int |
pixacompReplacePix(lept.PIXAC pixac,
int index,
lept.PIX pix,
int comptype) |
static int |
pixacompReplacePixcomp(lept.PIXAC pixac,
int index,
lept.PIXC pixc) |
static int |
pixacompSetOffset(lept.PIXAC pixac,
int offset) |
static int |
pixacompWrite(BytePointer filename,
lept.PIXAC pixac) |
static int |
pixacompWrite(String filename,
lept.PIXAC pixac) |
static int |
pixacompWriteStream(Pointer fp,
lept.PIXAC pixac) |
static int |
pixacompWriteStreamInfo(Pointer fp,
lept.PIXAC pixac,
BytePointer text) |
static int |
pixacompWriteStreamInfo(Pointer fp,
lept.PIXAC pixac,
String text) |
static lept.PIXA |
pixaConvertTo1(lept.PIXA pixas,
int thresh) |
static lept.PIXA |
pixaConvertTo32(lept.PIXA pixas) |
static lept.PIXA |
pixaConvertTo8(lept.PIXA pixas,
int cmapflag) |
static lept.PIXA |
pixaConvertTo8Color(lept.PIXA pixas,
int dither) |
static int |
pixaConvertToPdf(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer fileout) |
static int |
pixaConvertToPdf(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
String title,
String fileout) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixaConvertToPdfData(lept.PIXA pixa,
int res,
float scalefactor,
int type,
int quality,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static lept.PIXA |
pixaConvertToSameDepth(lept.PIXA pixas) |
static lept.PIXA |
pixaCopy(lept.PIXA pixa,
int copyflag) |
static lept.NUMA |
pixaCountPixels(lept.PIXA pixa) |
static int |
pixaCountText(lept.PIXA pixa,
int[] pntext) |
static int |
pixaCountText(lept.PIXA pixa,
IntBuffer pntext) |
static int |
pixaCountText(lept.PIXA pixa,
IntPointer pntext) |
static lept.PIXA |
pixaCreate(int n) |
static lept.PIXA |
pixaCreateFromBoxa(lept.PIX pixs,
lept.BOXA boxa,
int[] pcropwarn) |
static lept.PIXA |
pixaCreateFromBoxa(lept.PIX pixs,
lept.BOXA boxa,
IntBuffer pcropwarn) |
static lept.PIXA |
pixaCreateFromBoxa(lept.PIX pixs,
lept.BOXA boxa,
IntPointer pcropwarn) |
static lept.PIXA |
pixaCreateFromPix(lept.PIX pixs,
int n,
int cellw,
int cellh) |
static lept.PIXA |
pixaCreateFromPixacomp(lept.PIXAC pixac,
int accesstype) |
static lept.PIX |
pixAdaptThresholdToBinary(lept.PIX pixs,
lept.PIX pixm,
float gamma) |
static lept.PIX |
pixAdaptThresholdToBinaryGen(lept.PIX pixs,
lept.PIX pixm,
float gamma,
int blackval,
int whiteval,
int thresh) |
static lept.PIX |
pixAddAlphaTo1bpp(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixAddAlphaToBlend(lept.PIX pixs,
float fract,
int invert) |
static lept.PIX |
pixAddBlackOrWhiteBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot,
int op) |
static lept.PIX |
pixAddBorder(lept.PIX pixs,
int npix,
int val) |
static lept.PIX |
pixAddBorderGeneral(lept.PIX pixs,
int left,
int right,
int top,
int bot,
int val) |
static int |
pixAddConstantGray(lept.PIX pixs,
int val) |
static lept.PIX |
pixAddContinuedBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static lept.PIX |
pixAddGaussianNoise(lept.PIX pixs,
float stdev) |
static lept.PIX |
pixAddGray(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2) |
static int |
pixAddGrayColormap8(lept.PIX pixs) |
static lept.PIX |
pixAddMinimalGrayColormap8(lept.PIX pixs) |
static lept.PIX |
pixAddMirroredBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static lept.PIX |
pixAddMixedBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static lept.PIX |
pixAddRepeatedBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static lept.PIX |
pixAddRGB(lept.PIX pixs1,
lept.PIX pixs2) |
static lept.PIX |
pixAddSingleTextblock(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int location,
int[] poverflow) |
static lept.PIX |
pixAddSingleTextblock(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int location,
IntBuffer poverflow) |
static lept.PIX |
pixAddSingleTextblock(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int location,
IntPointer poverflow) |
static lept.PIX |
pixAddSingleTextblock(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int location,
int[] poverflow) |
static lept.PIX |
pixAddSingleTextblock(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int location,
IntBuffer poverflow) |
static lept.PIX |
pixAddSingleTextblock(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int location,
IntPointer poverflow) |
static lept.PIX |
pixAddSingleTextline(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int location) |
static lept.PIX |
pixAddSingleTextline(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int location) |
static int |
pixAddText(lept.PIX pix,
BytePointer textstring) |
static int |
pixAddText(lept.PIX pix,
String textstring) |
static int |
pixAddWithIndicator(lept.PIX pixs,
lept.PIXA pixa,
lept.NUMA na) |
static void |
pixaDestroy(lept.PIXA ppixa) |
static void |
pixaDestroy(PointerPointer ppixa) |
static lept.PIX |
pixaDisplay(lept.PIXA pixa,
int w,
int h) |
static lept.PIX |
pixaDisplayLinearly(lept.PIXA pixas,
int direction,
float scalefactor,
int background,
int spacing,
int border,
lept.BOXA pboxa) |
static lept.PIX |
pixaDisplayLinearly(lept.PIXA pixas,
int direction,
float scalefactor,
int background,
int spacing,
int border,
PointerPointer pboxa) |
static lept.PIX |
pixaDisplayOnColor(lept.PIXA pixa,
int w,
int h,
int bgcolor) |
static lept.PIX |
pixaDisplayOnLattice(lept.PIXA pixa,
int cellw,
int cellh,
int[] pncols,
lept.BOXA pboxa) |
static lept.PIX |
pixaDisplayOnLattice(lept.PIXA pixa,
int cellw,
int cellh,
IntBuffer pncols,
lept.BOXA pboxa) |
static lept.PIX |
pixaDisplayOnLattice(lept.PIXA pixa,
int cellw,
int cellh,
IntPointer pncols,
lept.BOXA pboxa) |
static lept.PIX |
pixaDisplayOnLattice(lept.PIXA pixa,
int cellw,
int cellh,
IntPointer pncols,
PointerPointer pboxa) |
static lept.PIX |
pixaDisplayRandomCmap(lept.PIXA pixa,
int w,
int h) |
static lept.PIX |
pixaDisplayTiled(lept.PIXA pixa,
int maxwidth,
int background,
int spacing) |
static lept.PIX |
pixaDisplayTiledAndScaled(lept.PIXA pixa,
int outdepth,
int tilewidth,
int ncols,
int background,
int spacing,
int border) |
static lept.PIX |
pixaDisplayTiledInRows(lept.PIXA pixa,
int outdepth,
int maxwidth,
float scalefactor,
int background,
int spacing,
int border) |
static lept.PIX |
pixaDisplayUnsplit(lept.PIXA pixa,
int nx,
int ny,
int borderwidth,
int bordercolor) |
static int |
pixaEqual(lept.PIXA pixa1,
lept.PIXA pixa2,
int maxdist,
lept.NUMA pnaindex,
int[] psame) |
static int |
pixaEqual(lept.PIXA pixa1,
lept.PIXA pixa2,
int maxdist,
lept.NUMA pnaindex,
IntBuffer psame) |
static int |
pixaEqual(lept.PIXA pixa1,
lept.PIXA pixa2,
int maxdist,
lept.NUMA pnaindex,
IntPointer psame) |
static int |
pixaEqual(lept.PIXA pixa1,
lept.PIXA pixa2,
int maxdist,
PointerPointer pnaindex,
IntPointer psame) |
static int |
pixaExtendArrayToSize(lept.PIXA pixa,
int size) |
static int |
pixaExtractColumnFromEachPix(lept.PIXA pixa,
int col,
lept.PIX pixd) |
static lept.PIX |
pixAffine(lept.PIX pixs,
float[] vc,
int incolor) |
static lept.PIX |
pixAffine(lept.PIX pixs,
FloatBuffer vc,
int incolor) |
static lept.PIX |
pixAffine(lept.PIX pixs,
FloatPointer vc,
int incolor) |
static lept.PIX |
pixAffineColor(lept.PIX pixs,
float[] vc,
int colorval) |
static lept.PIX |
pixAffineColor(lept.PIX pixs,
FloatBuffer vc,
int colorval) |
static lept.PIX |
pixAffineColor(lept.PIX pixs,
FloatPointer vc,
int colorval) |
static lept.PIX |
pixAffineGray(lept.PIX pixs,
float[] vc,
byte grayval) |
static lept.PIX |
pixAffineGray(lept.PIX pixs,
FloatBuffer vc,
byte grayval) |
static lept.PIX |
pixAffineGray(lept.PIX pixs,
FloatPointer vc,
byte grayval) |
static lept.PIX |
pixAffinePta(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int incolor) |
static lept.PIX |
pixAffinePtaColor(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int colorval) |
static lept.PIX |
pixAffinePtaGray(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
byte grayval) |
static lept.PIX |
pixAffinePtaWithAlpha(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
lept.PIX pixg,
float fract,
int border) |
static lept.PIX |
pixAffineSampled(lept.PIX pixs,
float[] vc,
int incolor) |
static lept.PIX |
pixAffineSampled(lept.PIX pixs,
FloatBuffer vc,
int incolor) |
static lept.PIX |
pixAffineSampled(lept.PIX pixs,
FloatPointer vc,
int incolor) |
static lept.PIX |
pixAffineSampledPta(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int incolor) |
static lept.PIX |
pixAffineSequential(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int bw,
int bh) |
static lept.NUMA |
pixaFindAreaFraction(lept.PIXA pixa) |
static lept.NUMA |
pixaFindAreaFractionMasked(lept.PIXA pixa,
lept.PIX pixm,
int debug) |
static int |
pixaFindDimensions(lept.PIXA pixa,
lept.NUMA pnaw,
lept.NUMA pnah) |
static int |
pixaFindDimensions(lept.PIXA pixa,
PointerPointer pnaw,
PointerPointer pnah) |
static lept.NUMA |
pixaFindPerimSizeRatio(lept.PIXA pixa) |
static lept.NUMA |
pixaFindPerimToAreaRatio(lept.PIXA pixa) |
static lept.NUMA |
pixaFindWidthHeightProduct(lept.PIXA pixa) |
static lept.NUMA |
pixaFindWidthHeightRatio(lept.PIXA pixa) |
static lept.PIXA |
pixaGenerateFont(BytePointer dir,
int size,
int[] pbl0,
int[] pbl1,
int[] pbl2) |
static lept.PIXA |
pixaGenerateFont(BytePointer dir,
int size,
IntBuffer pbl0,
IntBuffer pbl1,
IntBuffer pbl2) |
static lept.PIXA |
pixaGenerateFont(BytePointer dir,
int size,
IntPointer pbl0,
IntPointer pbl1,
IntPointer pbl2) |
static lept.PIXA |
pixaGenerateFont(String dir,
int size,
int[] pbl0,
int[] pbl1,
int[] pbl2) |
static lept.PIXA |
pixaGenerateFont(String dir,
int size,
IntBuffer pbl0,
IntBuffer pbl1,
IntBuffer pbl2) |
static lept.PIXA |
pixaGenerateFont(String dir,
int size,
IntPointer pbl0,
IntPointer pbl1,
IntPointer pbl2) |
static lept.PIX |
pixaGetAlignedStats(lept.PIXA pixa,
int type,
int nbins,
int thresh) |
static lept.BOX |
pixaGetBox(lept.PIXA pixa,
int index,
int accesstype) |
static lept.BOXA |
pixaGetBoxa(lept.PIXA pixa,
int accesstype) |
static int |
pixaGetBoxaCount(lept.PIXA pixa) |
static int |
pixaGetBoxGeometry(lept.PIXA pixa,
int index,
int[] px,
int[] py,
int[] pw,
int[] ph) |
static int |
pixaGetBoxGeometry(lept.PIXA pixa,
int index,
IntBuffer px,
IntBuffer py,
IntBuffer pw,
IntBuffer ph) |
static int |
pixaGetBoxGeometry(lept.PIXA pixa,
int index,
IntPointer px,
IntPointer py,
IntPointer pw,
IntPointer ph) |
static int |
pixaGetCount(lept.PIXA pixa) |
static int |
pixaGetDepthInfo(lept.PIXA pixa,
int[] pmaxdepth,
int[] psame) |
static int |
pixaGetDepthInfo(lept.PIXA pixa,
IntBuffer pmaxdepth,
IntBuffer psame) |
static int |
pixaGetDepthInfo(lept.PIXA pixa,
IntPointer pmaxdepth,
IntPointer psame) |
static lept.PIXA |
pixaGetFont(BytePointer dir,
int size,
int[] pbl0,
int[] pbl1,
int[] pbl2) |
static lept.PIXA |
pixaGetFont(BytePointer dir,
int size,
IntBuffer pbl0,
IntBuffer pbl1,
IntBuffer pbl2) |
static lept.PIXA |
pixaGetFont(BytePointer dir,
int size,
IntPointer pbl0,
IntPointer pbl1,
IntPointer pbl2) |
static lept.PIXA |
pixaGetFont(String dir,
int size,
int[] pbl0,
int[] pbl1,
int[] pbl2) |
static lept.PIXA |
pixaGetFont(String dir,
int size,
IntBuffer pbl0,
IntBuffer pbl1,
IntBuffer pbl2) |
static lept.PIXA |
pixaGetFont(String dir,
int size,
IntPointer pbl0,
IntPointer pbl1,
IntPointer pbl2) |
static PointerPointer |
pixaGetLinePtrs(lept.PIXA pixa,
int[] psize) |
static PointerPointer |
pixaGetLinePtrs(lept.PIXA pixa,
IntBuffer psize) |
static PointerPointer |
pixaGetLinePtrs(lept.PIXA pixa,
IntPointer psize) |
static lept.PIX |
pixaGetPix(lept.PIXA pixa,
int index,
int accesstype) |
static PointerPointer |
pixaGetPixArray(lept.PIXA pixa) |
static int |
pixaGetPixDimensions(lept.PIXA pixa,
int index,
int[] pw,
int[] ph,
int[] pd) |
static int |
pixaGetPixDimensions(lept.PIXA pixa,
int index,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd) |
static int |
pixaGetPixDimensions(lept.PIXA pixa,
int index,
IntPointer pw,
IntPointer ph,
IntPointer pd) |
static int |
pixaGetRenderingDepth(lept.PIXA pixa,
int[] pdepth) |
static int |
pixaGetRenderingDepth(lept.PIXA pixa,
IntBuffer pdepth) |
static int |
pixaGetRenderingDepth(lept.PIXA pixa,
IntPointer pdepth) |
static int |
pixaHasColor(lept.PIXA pixa,
int[] phascolor) |
static int |
pixaHasColor(lept.PIXA pixa,
IntBuffer phascolor) |
static int |
pixaHasColor(lept.PIXA pixa,
IntPointer phascolor) |
static int |
pixaInitFull(lept.PIXA pixa,
lept.PIX pix,
lept.BOX box) |
static int |
pixaInsertPix(lept.PIXA pixa,
int index,
lept.PIX pixs,
lept.BOX box) |
static int |
pixaIsFull(lept.PIXA pixa,
int[] pfullpa,
int[] pfullba) |
static int |
pixaIsFull(lept.PIXA pixa,
IntBuffer pfullpa,
IntBuffer pfullba) |
static int |
pixaIsFull(lept.PIXA pixa,
IntPointer pfullpa,
IntPointer pfullba) |
static int |
pixaJoin(lept.PIXA pixad,
lept.PIXA pixas,
int istart,
int iend) |
static lept.PIX |
pixAlphaBlendUniform(lept.PIX pixs,
int color) |
static int |
pixAlphaIsOpaque(lept.PIX pix,
int[] popaque) |
static int |
pixAlphaIsOpaque(lept.PIX pix,
IntBuffer popaque) |
static int |
pixAlphaIsOpaque(lept.PIX pix,
IntPointer popaque) |
static lept.NUMA |
pixaMakeSizeIndicator(lept.PIXA pixa,
int width,
int height,
int type,
int relation) |
static lept.PIXA |
pixaMorphSequenceByComponent(lept.PIXA pixas,
BytePointer sequence,
int minw,
int minh) |
static lept.PIXA |
pixaMorphSequenceByComponent(lept.PIXA pixas,
String sequence,
int minw,
int minh) |
static lept.PIXA |
pixaMorphSequenceByRegion(lept.PIX pixs,
lept.PIXA pixam,
BytePointer sequence,
int minw,
int minh) |
static lept.PIXA |
pixaMorphSequenceByRegion(lept.PIX pixs,
lept.PIXA pixam,
String sequence,
int minw,
int minh) |
static lept.PIX |
pixAnd(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2) |
static lept.PIX |
pixApplyInvBackgroundGrayMap(lept.PIX pixs,
lept.PIX pixm,
int sx,
int sy) |
static lept.PIX |
pixApplyInvBackgroundRGBMap(lept.PIX pixs,
lept.PIX pixmr,
lept.PIX pixmg,
lept.PIX pixmb,
int sx,
int sy) |
static lept.PIX |
pixApplyLocalThreshold(lept.PIX pixs,
lept.PIX pixth,
int redfactor) |
static lept.PIX |
pixApplyVariableGrayMap(lept.PIX pixs,
lept.PIX pixg,
int target) |
static lept.PIXA |
pixaRead(BytePointer filename) |
static lept.PIXA |
pixaRead(String filename) |
static lept.PIXA |
pixaReadFiles(BytePointer dirname,
BytePointer substr) |
static lept.PIXA |
pixaReadFiles(String dirname,
String substr) |
static lept.PIXA |
pixaReadFilesSA(lept.SARRAY sa) |
static lept.PIXA |
pixaReadMultipageTiff(BytePointer filename) |
static lept.PIXA |
pixaReadMultipageTiff(String filename) |
static lept.PIXA |
pixaReadStream(Pointer fp) |
static int |
pixaRemovePix(lept.PIXA pixa,
int index) |
static int |
pixaRemovePixAndSave(lept.PIXA pixa,
int index,
lept.PIX ppix,
lept.BOX pbox) |
static int |
pixaRemovePixAndSave(lept.PIXA pixa,
int index,
PointerPointer ppix,
PointerPointer pbox) |
static lept.PIX |
pixaRenderComponent(lept.PIX pixs,
lept.PIXA pixa,
int index) |
static int |
pixaReplacePix(lept.PIXA pixa,
int index,
lept.PIX pix,
lept.BOX box) |
static int |
pixaSaveFont(BytePointer indir,
BytePointer outdir,
int size) |
static int |
pixaSaveFont(String indir,
String outdir,
int size) |
static lept.PIXA |
pixaScaleToSize(lept.PIXA pixas,
int wd,
int hd) |
static lept.PIXA |
pixaSelectByAreaFraction(lept.PIXA pixas,
float thresh,
int type,
int[] pchanged) |
static lept.PIXA |
pixaSelectByAreaFraction(lept.PIXA pixas,
float thresh,
int type,
IntBuffer pchanged) |
static lept.PIXA |
pixaSelectByAreaFraction(lept.PIXA pixas,
float thresh,
int type,
IntPointer pchanged) |
static lept.PIXA |
pixaSelectByPerimSizeRatio(lept.PIXA pixas,
float thresh,
int type,
int[] pchanged) |
static lept.PIXA |
pixaSelectByPerimSizeRatio(lept.PIXA pixas,
float thresh,
int type,
IntBuffer pchanged) |
static lept.PIXA |
pixaSelectByPerimSizeRatio(lept.PIXA pixas,
float thresh,
int type,
IntPointer pchanged) |
static lept.PIXA |
pixaSelectByPerimToAreaRatio(lept.PIXA pixas,
float thresh,
int type,
int[] pchanged) |
static lept.PIXA |
pixaSelectByPerimToAreaRatio(lept.PIXA pixas,
float thresh,
int type,
IntBuffer pchanged) |
static lept.PIXA |
pixaSelectByPerimToAreaRatio(lept.PIXA pixas,
float thresh,
int type,
IntPointer pchanged) |
static lept.PIXA |
pixaSelectBySize(lept.PIXA pixas,
int width,
int height,
int type,
int relation,
int[] pchanged) |
static lept.PIXA |
pixaSelectBySize(lept.PIXA pixas,
int width,
int height,
int type,
int relation,
IntBuffer pchanged) |
static lept.PIXA |
pixaSelectBySize(lept.PIXA pixas,
int width,
int height,
int type,
int relation,
IntPointer pchanged) |
static lept.PIXA |
pixaSelectByWidthHeightRatio(lept.PIXA pixas,
float thresh,
int type,
int[] pchanged) |
static lept.PIXA |
pixaSelectByWidthHeightRatio(lept.PIXA pixas,
float thresh,
int type,
IntBuffer pchanged) |
static lept.PIXA |
pixaSelectByWidthHeightRatio(lept.PIXA pixas,
float thresh,
int type,
IntPointer pchanged) |
static lept.PIXA |
pixaSelectRange(lept.PIXA pixas,
int first,
int last,
int copyflag) |
static lept.PIXA |
pixaSelectWithIndicator(lept.PIXA pixas,
lept.NUMA na,
int[] pchanged) |
static lept.PIXA |
pixaSelectWithIndicator(lept.PIXA pixas,
lept.NUMA na,
IntBuffer pchanged) |
static lept.PIXA |
pixaSelectWithIndicator(lept.PIXA pixas,
lept.NUMA na,
IntPointer pchanged) |
static int |
pixaSetBoxa(lept.PIXA pixa,
lept.BOXA boxa,
int accesstype) |
static int |
pixaSizeRange(lept.PIXA pixa,
int[] pminw,
int[] pminh,
int[] pmaxw,
int[] pmaxh) |
static int |
pixaSizeRange(lept.PIXA pixa,
IntBuffer pminw,
IntBuffer pminh,
IntBuffer pmaxw,
IntBuffer pmaxh) |
static int |
pixaSizeRange(lept.PIXA pixa,
IntPointer pminw,
IntPointer pminh,
IntPointer pmaxw,
IntPointer pmaxh) |
static lept.PIXA |
pixaSort(lept.PIXA pixas,
int sorttype,
int sortorder,
lept.NUMA pnaindex,
int copyflag) |
static lept.PIXA |
pixaSort(lept.PIXA pixas,
int sorttype,
int sortorder,
PointerPointer pnaindex,
int copyflag) |
static lept.PIXAA |
pixaSort2dByIndex(lept.PIXA pixas,
lept.NUMAA naa,
int copyflag) |
static lept.PIXA |
pixaSortByIndex(lept.PIXA pixas,
lept.NUMA naindex,
int copyflag) |
static lept.PIXA |
pixaSplitPix(lept.PIX pixs,
int nx,
int ny,
int borderwidth,
int bordercolor) |
static int |
pixAssignToNearestColor(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int level,
int[] countarray) |
static int |
pixAssignToNearestColor(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int level,
IntBuffer countarray) |
static int |
pixAssignToNearestColor(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int level,
IntPointer countarray) |
static lept.NUMA |
pixAverageByColumn(lept.PIX pix,
lept.BOX box,
int type) |
static lept.NUMA |
pixAverageByRow(lept.PIX pix,
lept.BOX box,
int type) |
static int |
pixAverageInRect(lept.PIX pix,
lept.BOX box,
float[] pave) |
static int |
pixAverageInRect(lept.PIX pix,
lept.BOX box,
FloatBuffer pave) |
static int |
pixAverageInRect(lept.PIX pix,
lept.BOX box,
FloatPointer pave) |
static lept.NUMA |
pixAverageIntensityProfile(lept.PIX pixs,
float fract,
int dir,
int first,
int last,
int factor1,
int factor2) |
static float |
pixAverageOnLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2,
int factor) |
static int |
pixaVerifyDepth(lept.PIXA pixa,
int[] pmaxdepth) |
static int |
pixaVerifyDepth(lept.PIXA pixa,
IntBuffer pmaxdepth) |
static int |
pixaVerifyDepth(lept.PIXA pixa,
IntPointer pmaxdepth) |
static int |
pixaWrite(BytePointer filename,
lept.PIXA pixa) |
static int |
pixaWrite(String filename,
lept.PIXA pixa) |
static int |
pixaWriteCompressedToPS(lept.PIXA pixa,
BytePointer fileout,
int res,
int level) |
static int |
pixaWriteCompressedToPS(lept.PIXA pixa,
String fileout,
int res,
int level) |
static int |
pixaWriteFiles(BytePointer rootname,
lept.PIXA pixa,
int format) |
static int |
pixaWriteFiles(String rootname,
lept.PIXA pixa,
int format) |
static int |
pixaWriteStream(Pointer fp,
lept.PIXA pixa) |
static lept.PIX |
pixBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
lept.PIX pixg,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy) |
static lept.PIX |
pixBackgroundNormFlex(lept.PIX pixs,
int sx,
int sy,
int smoothx,
int smoothy,
int delta) |
static int |
pixBackgroundNormGrayArray(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
lept.PIX ppixd) |
static int |
pixBackgroundNormGrayArray(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
PointerPointer ppixd) |
static int |
pixBackgroundNormGrayArrayMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
int bgval,
lept.PIX ppixd) |
static int |
pixBackgroundNormGrayArrayMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
int bgval,
PointerPointer ppixd) |
static lept.PIX |
pixBackgroundNormMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
int bgval) |
static int |
pixBackgroundNormRGBArrays(lept.PIX pixs,
lept.PIX pixim,
lept.PIX pixg,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
lept.PIX ppixr,
lept.PIX ppixg,
lept.PIX ppixb) |
static int |
pixBackgroundNormRGBArrays(lept.PIX pixs,
lept.PIX pixim,
lept.PIX pixg,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
PointerPointer ppixr,
PointerPointer ppixg,
PointerPointer ppixb) |
static int |
pixBackgroundNormRGBArraysMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
int bgval,
lept.PIX ppixr,
lept.PIX ppixg,
lept.PIX ppixb) |
static int |
pixBackgroundNormRGBArraysMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
int bgval,
PointerPointer ppixr,
PointerPointer ppixg,
PointerPointer ppixb) |
static lept.PIX |
pixBackgroundNormSimple(lept.PIX pixs,
lept.PIX pixim,
lept.PIX pixg) |
static int |
pixBestCorrelation(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
int etransx,
int etransy,
int maxshift,
int[] tab8,
int[] pdelx,
int[] pdely,
float[] pscore,
int debugflag) |
static int |
pixBestCorrelation(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
int etransx,
int etransy,
int maxshift,
IntBuffer tab8,
IntBuffer pdelx,
IntBuffer pdely,
FloatBuffer pscore,
int debugflag) |
static int |
pixBestCorrelation(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
int etransx,
int etransy,
int maxshift,
IntPointer tab8,
IntPointer pdelx,
IntPointer pdely,
FloatPointer pscore,
int debugflag) |
static lept.PIX |
pixBilateral(lept.PIX pixs,
float spatial_stdev,
float range_stdev,
int ncomps,
int reduction) |
static lept.PIX |
pixBilateralExact(lept.PIX pixs,
lept.L_KERNEL spatial_kel,
lept.L_KERNEL range_kel) |
static lept.PIX |
pixBilateralGray(lept.PIX pixs,
float spatial_stdev,
float range_stdev,
int ncomps,
int reduction) |
static lept.PIX |
pixBilateralGrayExact(lept.PIX pixs,
lept.L_KERNEL spatial_kel,
lept.L_KERNEL range_kel) |
static lept.PIX |
pixBilinear(lept.PIX pixs,
float[] vc,
int incolor) |
static lept.PIX |
pixBilinear(lept.PIX pixs,
FloatBuffer vc,
int incolor) |
static lept.PIX |
pixBilinear(lept.PIX pixs,
FloatPointer vc,
int incolor) |
static lept.PIX |
pixBilinearColor(lept.PIX pixs,
float[] vc,
int colorval) |
static lept.PIX |
pixBilinearColor(lept.PIX pixs,
FloatBuffer vc,
int colorval) |
static lept.PIX |
pixBilinearColor(lept.PIX pixs,
FloatPointer vc,
int colorval) |
static lept.PIX |
pixBilinearGray(lept.PIX pixs,
float[] vc,
byte grayval) |
static lept.PIX |
pixBilinearGray(lept.PIX pixs,
FloatBuffer vc,
byte grayval) |
static lept.PIX |
pixBilinearGray(lept.PIX pixs,
FloatPointer vc,
byte grayval) |
static lept.PIX |
pixBilinearPta(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int incolor) |
static lept.PIX |
pixBilinearPtaColor(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int colorval) |
static lept.PIX |
pixBilinearPtaGray(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
byte grayval) |
static lept.PIX |
pixBilinearPtaWithAlpha(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
lept.PIX pixg,
float fract,
int border) |
static lept.PIX |
pixBilinearSampled(lept.PIX pixs,
float[] vc,
int incolor) |
static lept.PIX |
pixBilinearSampled(lept.PIX pixs,
FloatBuffer vc,
int incolor) |
static lept.PIX |
pixBilinearSampled(lept.PIX pixs,
FloatPointer vc,
int incolor) |
static lept.PIX |
pixBilinearSampledPta(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int incolor) |
static lept.PIX |
pixBlend(lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract) |
static lept.PIX |
pixBlendBackgroundToColor(lept.PIX pixd,
lept.PIX pixs,
lept.BOX box,
int color,
float gamma,
int minval,
int maxval) |
static lept.PIX |
pixBlendBoxaRandom(lept.PIX pixs,
lept.BOXA boxa,
float fract) |
static int |
pixBlendCmap(lept.PIX pixs,
lept.PIX pixb,
int x,
int y,
int sindex) |
static lept.PIX |
pixBlendColor(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract,
int transparent,
int transpix) |
static lept.PIX |
pixBlendColorByChannel(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float rfract,
float gfract,
float bfract,
int transparent,
int transpix) |
static lept.PIX |
pixBlendGray(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract,
int type,
int transparent,
int transpix) |
static lept.PIX |
pixBlendGrayAdapt(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract,
int shift) |
static lept.PIX |
pixBlendGrayInverse(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract) |
static lept.PIX |
pixBlendHardLight(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract) |
static int |
pixBlendInRect(lept.PIX pixs,
lept.BOX box,
int val,
float fract) |
static lept.PIX |
pixBlendMask(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int x,
int y,
float fract,
int type) |
static lept.PIX |
pixBlendWithGrayMask(lept.PIX pixs1,
lept.PIX pixs2,
lept.PIX pixg,
int x,
int y) |
static lept.PIX |
pixBlockBilateralExact(lept.PIX pixs,
float spatial_stdev,
float range_stdev) |
static lept.PIX |
pixBlockconv(lept.PIX pix,
int wc,
int hc) |
static lept.PIX |
pixBlockconvAccum(lept.PIX pixs) |
static lept.PIX |
pixBlockconvGray(lept.PIX pixs,
lept.PIX pixacc,
int wc,
int hc) |
static lept.PIX |
pixBlockconvGrayTile(lept.PIX pixs,
lept.PIX pixacc,
int wc,
int hc) |
static lept.PIX |
pixBlockconvGrayUnnormalized(lept.PIX pixs,
int wc,
int hc) |
static lept.PIX |
pixBlockconvTiled(lept.PIX pix,
int wc,
int hc,
int nx,
int ny) |
static lept.PIX |
pixBlockrank(lept.PIX pixs,
lept.PIX pixacc,
int wc,
int hc,
float rank) |
static lept.PIX |
pixBlocksum(lept.PIX pixs,
lept.PIX pixacc,
int wc,
int hc) |
static lept.PIX |
pixCensusTransform(lept.PIX pixs,
int halfsize,
lept.PIX pixacc) |
static int |
pixCentroid(lept.PIX pix,
int[] centtab,
int[] sumtab,
float[] pxave,
float[] pyave) |
static int |
pixCentroid(lept.PIX pix,
IntBuffer centtab,
IntBuffer sumtab,
FloatBuffer pxave,
FloatBuffer pyave) |
static int |
pixCentroid(lept.PIX pix,
IntPointer centtab,
IntPointer sumtab,
FloatPointer pxave,
FloatPointer pyave) |
static int |
pixChangeRefcount(lept.PIX pix,
int delta) |
static int |
pixChooseOutputFormat(lept.PIX pix) |
static int |
pixCleanupByteProcessing(lept.PIX pix,
byte[] lineptrs) |
static int |
pixCleanupByteProcessing(lept.PIX pix,
ByteBuffer lineptrs) |
static int |
pixCleanupByteProcessing(lept.PIX pix,
BytePointer lineptrs) |
static int |
pixCleanupByteProcessing(lept.PIX pix,
PointerPointer lineptrs) |
static int |
pixClearAll(lept.PIX pix) |
static int |
pixClearInRect(lept.PIX pix,
lept.BOX box) |
static int |
pixClearPixel(lept.PIX pix,
int x,
int y) |
static int |
pixClipBoxToEdges(lept.PIX pixs,
lept.BOX boxs,
int lowthresh,
int highthresh,
int maxwidth,
int factor,
lept.PIX ppixd,
lept.BOX pboxd) |
static int |
pixClipBoxToEdges(lept.PIX pixs,
lept.BOX boxs,
int lowthresh,
int highthresh,
int maxwidth,
int factor,
PointerPointer ppixd,
PointerPointer pboxd) |
static int |
pixClipBoxToForeground(lept.PIX pixs,
lept.BOX boxs,
lept.PIX ppixd,
lept.BOX pboxd) |
static int |
pixClipBoxToForeground(lept.PIX pixs,
lept.BOX boxs,
PointerPointer ppixd,
PointerPointer pboxd) |
static lept.PIX |
pixClipMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int outval) |
static lept.PIX |
pixClipRectangle(lept.PIX pixs,
lept.BOX box,
lept.BOX pboxc) |
static lept.PIX |
pixClipRectangle(lept.PIX pixs,
lept.BOX box,
PointerPointer pboxc) |
static lept.PIXA |
pixClipRectangles(lept.PIX pixs,
lept.BOXA boxa) |
static int |
pixClipToForeground(lept.PIX pixs,
lept.PIX ppixd,
lept.BOX pbox) |
static int |
pixClipToForeground(lept.PIX pixs,
PointerPointer ppixd,
PointerPointer pbox) |
static lept.PIX |
pixClone(lept.PIX pixs) |
static lept.PIX |
pixClose(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixCloseBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseCompBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseCompBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseCompBrickExtendDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseGeneralized(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixCloseGray(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseGray3(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseSafe(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixCloseSafeBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixCloseSafeCompBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static int |
pixcmapAddBlackOrWhite(lept.PIXCMAP cmap,
int color,
int[] pindex) |
static int |
pixcmapAddBlackOrWhite(lept.PIXCMAP cmap,
int color,
IntBuffer pindex) |
static int |
pixcmapAddBlackOrWhite(lept.PIXCMAP cmap,
int color,
IntPointer pindex) |
static int |
pixcmapAddColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval) |
static int |
pixcmapAddNearestColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
int[] pindex) |
static int |
pixcmapAddNearestColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntBuffer pindex) |
static int |
pixcmapAddNearestColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntPointer pindex) |
static int |
pixcmapAddNewColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
int[] pindex) |
static int |
pixcmapAddNewColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntBuffer pindex) |
static int |
pixcmapAddNewColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntPointer pindex) |
static int |
pixcmapAddRGBA(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
int aval) |
static int |
pixcmapClear(lept.PIXCMAP cmap) |
static lept.PIXCMAP |
pixcmapColorToGray(lept.PIXCMAP cmaps,
float rwt,
float gwt,
float bwt) |
static int |
pixcmapContrastTRC(lept.PIXCMAP cmap,
float factor) |
static int |
pixcmapConvertHSVToRGB(lept.PIXCMAP cmap) |
static int |
pixcmapConvertRGBToHSV(lept.PIXCMAP cmap) |
static int |
pixcmapConvertRGBToYUV(lept.PIXCMAP cmap) |
static byte[] |
pixcmapConvertToHex(byte[] data,
int ncolors) |
static ByteBuffer |
pixcmapConvertToHex(ByteBuffer data,
int ncolors) |
static BytePointer |
pixcmapConvertToHex(BytePointer data,
int ncolors) |
static int |
pixcmapConvertYUVToRGB(lept.PIXCMAP cmap) |
static lept.PIXCMAP |
pixcmapCopy(lept.PIXCMAP cmaps) |
static int |
pixcmapCountGrayColors(lept.PIXCMAP cmap,
int[] pngray) |
static int |
pixcmapCountGrayColors(lept.PIXCMAP cmap,
IntBuffer pngray) |
static int |
pixcmapCountGrayColors(lept.PIXCMAP cmap,
IntPointer pngray) |
static lept.PIXCMAP |
pixcmapCreate(int depth) |
static lept.PIXCMAP |
pixcmapCreateLinear(int d,
int nlevels) |
static lept.PIXCMAP |
pixcmapCreateRandom(int depth,
int hasblack,
int haswhite) |
static lept.PIXCMAP |
pixcmapDeserializeFromMemory(byte[] data,
int cpc,
int ncolors) |
static lept.PIXCMAP |
pixcmapDeserializeFromMemory(ByteBuffer data,
int cpc,
int ncolors) |
static lept.PIXCMAP |
pixcmapDeserializeFromMemory(BytePointer data,
int cpc,
int ncolors) |
static void |
pixcmapDestroy(lept.PIXCMAP pcmap) |
static void |
pixcmapDestroy(PointerPointer pcmap) |
static int |
pixcmapGammaTRC(lept.PIXCMAP cmap,
float gamma,
int minval,
int maxval) |
static int |
pixcmapGetColor(lept.PIXCMAP cmap,
int index,
int[] prval,
int[] pgval,
int[] pbval) |
static int |
pixcmapGetColor(lept.PIXCMAP cmap,
int index,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static int |
pixcmapGetColor(lept.PIXCMAP cmap,
int index,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static int |
pixcmapGetColor32(lept.PIXCMAP cmap,
int index,
int[] pval32) |
static int |
pixcmapGetColor32(lept.PIXCMAP cmap,
int index,
IntBuffer pval32) |
static int |
pixcmapGetColor32(lept.PIXCMAP cmap,
int index,
IntPointer pval32) |
static int |
pixcmapGetComponentRange(lept.PIXCMAP cmap,
int color,
int[] pminval,
int[] pmaxval) |
static int |
pixcmapGetComponentRange(lept.PIXCMAP cmap,
int color,
IntBuffer pminval,
IntBuffer pmaxval) |
static int |
pixcmapGetComponentRange(lept.PIXCMAP cmap,
int color,
IntPointer pminval,
IntPointer pmaxval) |
static int |
pixcmapGetCount(lept.PIXCMAP cmap) |
static int |
pixcmapGetDepth(lept.PIXCMAP cmap) |
static int |
pixcmapGetExtremeValue(lept.PIXCMAP cmap,
int type,
int[] prval,
int[] pgval,
int[] pbval) |
static int |
pixcmapGetExtremeValue(lept.PIXCMAP cmap,
int type,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static int |
pixcmapGetExtremeValue(lept.PIXCMAP cmap,
int type,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static int |
pixcmapGetFreeCount(lept.PIXCMAP cmap) |
static int |
pixcmapGetIndex(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
int[] pindex) |
static int |
pixcmapGetIndex(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntBuffer pindex) |
static int |
pixcmapGetIndex(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntPointer pindex) |
static int |
pixcmapGetMinDepth(lept.PIXCMAP cmap,
int[] pmindepth) |
static int |
pixcmapGetMinDepth(lept.PIXCMAP cmap,
IntBuffer pmindepth) |
static int |
pixcmapGetMinDepth(lept.PIXCMAP cmap,
IntPointer pmindepth) |
static int |
pixcmapGetNearestGrayIndex(lept.PIXCMAP cmap,
int val,
int[] pindex) |
static int |
pixcmapGetNearestGrayIndex(lept.PIXCMAP cmap,
int val,
IntBuffer pindex) |
static int |
pixcmapGetNearestGrayIndex(lept.PIXCMAP cmap,
int val,
IntPointer pindex) |
static int |
pixcmapGetNearestIndex(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
int[] pindex) |
static int |
pixcmapGetNearestIndex(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntBuffer pindex) |
static int |
pixcmapGetNearestIndex(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntPointer pindex) |
static int |
pixcmapGetRankIntensity(lept.PIXCMAP cmap,
float rankval,
int[] pindex) |
static int |
pixcmapGetRankIntensity(lept.PIXCMAP cmap,
float rankval,
IntBuffer pindex) |
static int |
pixcmapGetRankIntensity(lept.PIXCMAP cmap,
float rankval,
IntPointer pindex) |
static int |
pixcmapGetRGBA(lept.PIXCMAP cmap,
int index,
int[] prval,
int[] pgval,
int[] pbval,
int[] paval) |
static int |
pixcmapGetRGBA(lept.PIXCMAP cmap,
int index,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval,
IntBuffer paval) |
static int |
pixcmapGetRGBA(lept.PIXCMAP cmap,
int index,
IntPointer prval,
IntPointer pgval,
IntPointer pbval,
IntPointer paval) |
static int |
pixcmapGetRGBA32(lept.PIXCMAP cmap,
int index,
int[] pval32) |
static int |
pixcmapGetRGBA32(lept.PIXCMAP cmap,
int index,
IntBuffer pval32) |
static int |
pixcmapGetRGBA32(lept.PIXCMAP cmap,
int index,
IntPointer pval32) |
static lept.PIXCMAP |
pixcmapGrayToColor(int color) |
static int |
pixcmapHasColor(lept.PIXCMAP cmap,
int[] pcolor) |
static int |
pixcmapHasColor(lept.PIXCMAP cmap,
IntBuffer pcolor) |
static int |
pixcmapHasColor(lept.PIXCMAP cmap,
IntPointer pcolor) |
static int |
pixcmapIsOpaque(lept.PIXCMAP cmap,
int[] popaque) |
static int |
pixcmapIsOpaque(lept.PIXCMAP cmap,
IntBuffer popaque) |
static int |
pixcmapIsOpaque(lept.PIXCMAP cmap,
IntPointer popaque) |
static lept.PIXCMAP |
pixcmapReadStream(Pointer fp) |
static int |
pixcmapResetColor(lept.PIXCMAP cmap,
int index,
int rval,
int gval,
int bval) |
static int |
pixcmapSerializeToMemory(lept.PIXCMAP cmap,
int cpc,
int[] pncolors,
byte[] pdata) |
static int |
pixcmapSerializeToMemory(lept.PIXCMAP cmap,
int cpc,
IntBuffer pncolors,
ByteBuffer pdata) |
static int |
pixcmapSerializeToMemory(lept.PIXCMAP cmap,
int cpc,
IntPointer pncolors,
BytePointer pdata) |
static int |
pixcmapSerializeToMemory(lept.PIXCMAP cmap,
int cpc,
IntPointer pncolors,
PointerPointer pdata) |
static int |
pixcmapSetBlackAndWhite(lept.PIXCMAP cmap,
int setblack,
int setwhite) |
static int |
pixcmapShiftByComponent(lept.PIXCMAP cmap,
int srcval,
int dstval) |
static int |
pixcmapShiftIntensity(lept.PIXCMAP cmap,
float fraction) |
static int |
pixcmapToArrays(lept.PIXCMAP cmap,
int[] prmap,
int[] pgmap,
int[] pbmap,
int[] pamap) |
static int |
pixcmapToArrays(lept.PIXCMAP cmap,
IntBuffer prmap,
IntBuffer pgmap,
IntBuffer pbmap,
IntBuffer pamap) |
static int |
pixcmapToArrays(lept.PIXCMAP cmap,
IntPointer prmap,
IntPointer pgmap,
IntPointer pbmap,
IntPointer pamap) |
static int |
pixcmapToArrays(lept.PIXCMAP cmap,
PointerPointer prmap,
PointerPointer pgmap,
PointerPointer pbmap,
PointerPointer pamap) |
static IntPointer |
pixcmapToOctcubeLUT(lept.PIXCMAP cmap,
int level,
int metric) |
static int |
pixcmapToRGBTable(lept.PIXCMAP cmap,
int[] ptab,
int[] pncolors) |
static int |
pixcmapToRGBTable(lept.PIXCMAP cmap,
IntBuffer ptab,
IntBuffer pncolors) |
static int |
pixcmapToRGBTable(lept.PIXCMAP cmap,
IntPointer ptab,
IntPointer pncolors) |
static int |
pixcmapToRGBTable(lept.PIXCMAP cmap,
PointerPointer ptab,
IntPointer pncolors) |
static int |
pixcmapUsableColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
int[] pusable) |
static int |
pixcmapUsableColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntBuffer pusable) |
static int |
pixcmapUsableColor(lept.PIXCMAP cmap,
int rval,
int gval,
int bval,
IntPointer pusable) |
static int |
pixcmapWriteStream(Pointer fp,
lept.PIXCMAP cmap) |
static int |
pixColorContent(lept.PIX pixs,
int rwhite,
int gwhite,
int bwhite,
int mingray,
lept.PIX ppixr,
lept.PIX ppixg,
lept.PIX ppixb) |
static int |
pixColorContent(lept.PIX pixs,
int rwhite,
int gwhite,
int bwhite,
int mingray,
PointerPointer ppixr,
PointerPointer ppixg,
PointerPointer ppixb) |
static int |
pixColorFraction(lept.PIX pixs,
int darkthresh,
int lightthresh,
int diffthresh,
int factor,
float[] ppixfract,
float[] pcolorfract) |
static int |
pixColorFraction(lept.PIX pixs,
int darkthresh,
int lightthresh,
int diffthresh,
int factor,
FloatBuffer ppixfract,
FloatBuffer pcolorfract) |
static int |
pixColorFraction(lept.PIX pixs,
int darkthresh,
int lightthresh,
int diffthresh,
int factor,
FloatPointer ppixfract,
FloatPointer pcolorfract) |
static int |
pixColorGray(lept.PIX pixs,
lept.BOX box,
int type,
int thresh,
int rval,
int gval,
int bval) |
static int |
pixColorGrayCmap(lept.PIX pixs,
lept.BOX box,
int type,
int rval,
int gval,
int bval) |
static lept.PIX |
pixColorGrayRegions(lept.PIX pixs,
lept.BOXA boxa,
int type,
int thresh,
int rval,
int gval,
int bval) |
static int |
pixColorGrayRegionsCmap(lept.PIX pixs,
lept.BOXA boxa,
int type,
int rval,
int gval,
int bval) |
static lept.PIX |
pixColorizeGray(lept.PIX pixs,
int color,
int cmapflag) |
static lept.PIX |
pixColorMagnitude(lept.PIX pixs,
int rwhite,
int gwhite,
int bwhite,
int type) |
static lept.PIX |
pixColorMorph(lept.PIX pixs,
int type,
int hsize,
int vsize) |
static lept.PIX |
pixColorMorphSequence(lept.PIX pixs,
BytePointer sequence,
int dispsep,
int dispy) |
static lept.PIX |
pixColorMorphSequence(lept.PIX pixs,
String sequence,
int dispsep,
int dispy) |
static lept.PIX |
pixColorSegment(lept.PIX pixs,
int maxdist,
int maxcolors,
int selsize,
int finalcolors) |
static int |
pixColorSegmentClean(lept.PIX pixs,
int selsize,
int[] countarray) |
static int |
pixColorSegmentClean(lept.PIX pixs,
int selsize,
IntBuffer countarray) |
static int |
pixColorSegmentClean(lept.PIX pixs,
int selsize,
IntPointer countarray) |
static lept.PIX |
pixColorSegmentCluster(lept.PIX pixs,
int maxdist,
int maxcolors) |
static int |
pixColorSegmentRemoveColors(lept.PIX pixd,
lept.PIX pixs,
int finalcolors) |
static int |
pixColorsForQuantization(lept.PIX pixs,
int thresh,
int[] pncolors,
int[] piscolor,
int debug) |
static int |
pixColorsForQuantization(lept.PIX pixs,
int thresh,
IntBuffer pncolors,
IntBuffer piscolor,
int debug) |
static int |
pixColorsForQuantization(lept.PIX pixs,
int thresh,
IntPointer pncolors,
IntPointer piscolor,
int debug) |
static lept.PIX |
pixColorShiftRGB(lept.PIX pixs,
float rfract,
float gfract,
float bfract) |
static int |
pixColumnStats(lept.PIX pixs,
lept.BOX box,
lept.NUMA pnamean,
lept.NUMA pnamedian,
lept.NUMA pnamode,
lept.NUMA pnamodecount,
lept.NUMA pnavar,
lept.NUMA pnarootvar) |
static int |
pixColumnStats(lept.PIX pixs,
lept.BOX box,
PointerPointer pnamean,
PointerPointer pnamedian,
PointerPointer pnamode,
PointerPointer pnamodecount,
PointerPointer pnavar,
PointerPointer pnarootvar) |
static int |
pixCombineMasked(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm) |
static int |
pixCombineMaskedGeneral(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int x,
int y) |
static int |
pixCompareBinary(lept.PIX pix1,
lept.PIX pix2,
int comptype,
float[] pfract,
lept.PIX ppixdiff) |
static int |
pixCompareBinary(lept.PIX pix1,
lept.PIX pix2,
int comptype,
FloatBuffer pfract,
lept.PIX ppixdiff) |
static int |
pixCompareBinary(lept.PIX pix1,
lept.PIX pix2,
int comptype,
FloatPointer pfract,
lept.PIX ppixdiff) |
static int |
pixCompareBinary(lept.PIX pix1,
lept.PIX pix2,
int comptype,
FloatPointer pfract,
PointerPointer ppixdiff) |
static int |
pixCompareGray(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
int[] psame,
float[] pdiff,
float[] prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareGray(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntBuffer psame,
FloatBuffer pdiff,
FloatBuffer prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareGray(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntPointer psame,
FloatPointer pdiff,
FloatPointer prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareGray(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntPointer psame,
FloatPointer pdiff,
FloatPointer prmsdiff,
PointerPointer ppixdiff) |
static int |
pixCompareGrayOrRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
int[] psame,
float[] pdiff,
float[] prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareGrayOrRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntBuffer psame,
FloatBuffer pdiff,
FloatBuffer prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareGrayOrRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntPointer psame,
FloatPointer pdiff,
FloatPointer prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareGrayOrRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntPointer psame,
FloatPointer pdiff,
FloatPointer prmsdiff,
PointerPointer ppixdiff) |
static lept.NUMA |
pixCompareRankDifference(lept.PIX pix1,
lept.PIX pix2,
int factor) |
static int |
pixCompareRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
int[] psame,
float[] pdiff,
float[] prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntBuffer psame,
FloatBuffer pdiff,
FloatBuffer prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntPointer psame,
FloatPointer pdiff,
FloatPointer prmsdiff,
lept.PIX ppixdiff) |
static int |
pixCompareRGB(lept.PIX pix1,
lept.PIX pix2,
int comptype,
int plottype,
IntPointer psame,
FloatPointer pdiff,
FloatPointer prmsdiff,
PointerPointer ppixdiff) |
static int |
pixCompareTiled(lept.PIX pix1,
lept.PIX pix2,
int sx,
int sy,
int type,
lept.PIX ppixdiff) |
static int |
pixCompareTiled(lept.PIX pix1,
lept.PIX pix2,
int sx,
int sy,
int type,
PointerPointer ppixdiff) |
static int |
pixCompareWithTranslation(lept.PIX pix1,
lept.PIX pix2,
int thresh,
int[] pdelx,
int[] pdely,
float[] pscore,
int debugflag) |
static int |
pixCompareWithTranslation(lept.PIX pix1,
lept.PIX pix2,
int thresh,
IntBuffer pdelx,
IntBuffer pdely,
FloatBuffer pscore,
int debugflag) |
static int |
pixCompareWithTranslation(lept.PIX pix1,
lept.PIX pix2,
int thresh,
IntPointer pdelx,
IntPointer pdely,
FloatPointer pscore,
int debugflag) |
static lept.PIXC |
pixcompCreateFromFile(BytePointer filename,
int comptype) |
static lept.PIXC |
pixcompCreateFromFile(String filename,
int comptype) |
static lept.PIXC |
pixcompCreateFromPix(lept.PIX pix,
int comptype) |
static lept.PIXC |
pixcompCreateFromString(byte[] data,
long size,
int copyflag) |
static lept.PIXC |
pixcompCreateFromString(ByteBuffer data,
long size,
int copyflag) |
static lept.PIXC |
pixcompCreateFromString(BytePointer data,
long size,
int copyflag) |
static void |
pixcompDestroy(lept.PIXC ppixc) |
static void |
pixcompDestroy(PointerPointer ppixc) |
static int |
pixcompDetermineFormat(int comptype,
int d,
int cmapflag,
int[] pformat) |
static int |
pixcompDetermineFormat(int comptype,
int d,
int cmapflag,
IntBuffer pformat) |
static int |
pixcompDetermineFormat(int comptype,
int d,
int cmapflag,
IntPointer pformat) |
static int |
pixcompGetDimensions(lept.PIXC pixc,
int[] pw,
int[] ph,
int[] pd) |
static int |
pixcompGetDimensions(lept.PIXC pixc,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd) |
static int |
pixcompGetDimensions(lept.PIXC pixc,
IntPointer pw,
IntPointer ph,
IntPointer pd) |
static lept.FPIX |
pixComponentFunction(lept.PIX pix,
float rnum,
float gnum,
float bnum,
float rdenom,
float gdenom,
float bdenom) |
static int |
pixcompWriteStreamInfo(Pointer fp,
lept.PIXC pixc,
BytePointer text) |
static int |
pixcompWriteStreamInfo(Pointer fp,
lept.PIXC pixc,
String text) |
static int |
pixConformsToRectangle(lept.PIX pixs,
lept.BOX box,
int dist,
int[] pconforms) |
static int |
pixConformsToRectangle(lept.PIX pixs,
lept.BOX box,
int dist,
IntBuffer pconforms) |
static int |
pixConformsToRectangle(lept.PIX pixs,
lept.BOX box,
int dist,
IntPointer pconforms) |
static lept.BOXA |
pixConnComp(lept.PIX pixs,
lept.PIXA ppixa,
int connectivity) |
static lept.BOXA |
pixConnComp(lept.PIX pixs,
PointerPointer ppixa,
int connectivity) |
static lept.PIX |
pixConnCompAreaTransform(lept.PIX pixs,
int connect) |
static lept.BOXA |
pixConnCompBB(lept.PIX pixs,
int connectivity) |
static lept.BOXA |
pixConnCompPixa(lept.PIX pixs,
lept.PIXA ppixa,
int connectivity) |
static lept.BOXA |
pixConnCompPixa(lept.PIX pixs,
PointerPointer ppixa,
int connectivity) |
static lept.PIX |
pixConnCompTransform(lept.PIX pixs,
int connect,
int depth) |
static lept.PIX |
pixContrastNorm(lept.PIX pixd,
lept.PIX pixs,
int sx,
int sy,
int mindiff,
int smoothx,
int smoothy) |
static lept.PIX |
pixContrastTRC(lept.PIX pixd,
lept.PIX pixs,
float factor) |
static lept.PIX |
pixContrastTRCMasked(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
float factor) |
static lept.PIX |
pixConvert16To8(lept.PIX pixs,
int type) |
static lept.PIX |
pixConvert1To16(lept.PIX pixd,
lept.PIX pixs,
short val0,
short val1) |
static lept.PIX |
pixConvert1To2(lept.PIX pixd,
lept.PIX pixs,
int val0,
int val1) |
static lept.PIX |
pixConvert1To2Cmap(lept.PIX pixs) |
static lept.PIX |
pixConvert1To32(lept.PIX pixd,
lept.PIX pixs,
int val0,
int val1) |
static lept.PIX |
pixConvert1To4(lept.PIX pixd,
lept.PIX pixs,
int val0,
int val1) |
static lept.PIX |
pixConvert1To4Cmap(lept.PIX pixs) |
static lept.PIX |
pixConvert1To8(lept.PIX pixd,
lept.PIX pixs,
byte val0,
byte val1) |
static lept.PIX |
pixConvert24To32(lept.PIX pixs) |
static lept.PIX |
pixConvert2To8(lept.PIX pixs,
byte val0,
byte val1,
byte val2,
byte val3,
int cmapflag) |
static lept.PIX |
pixConvert32To24(lept.PIX pixs) |
static lept.PIX |
pixConvert4To8(lept.PIX pixs,
int cmapflag) |
static lept.PIX |
pixConvert8To16(lept.PIX pixs,
int leftshift) |
static lept.PIX |
pixConvert8To32(lept.PIX pixs) |
static lept.PIX |
pixConvertColorToSubpixelRGB(lept.PIX pixs,
float scalex,
float scaley,
int order) |
static lept.PIX |
pixConvertForPSWrap(lept.PIX pixs) |
static lept.PIX |
pixConvertGrayToColormap(lept.PIX pixs) |
static lept.PIX |
pixConvertGrayToColormap8(lept.PIX pixs,
int mindepth) |
static lept.PIX |
pixConvertGrayToFalseColor(lept.PIX pixs,
float gamma) |
static lept.PIX |
pixConvertGrayToSubpixelRGB(lept.PIX pixs,
float scalex,
float scaley,
int order) |
static lept.PIX |
pixConvertHSVToRGB(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixConvertLossless(lept.PIX pixs,
int d) |
static lept.PIX |
pixConvertRGBToColormap(lept.PIX pixs,
int ditherflag) |
static lept.PIX |
pixConvertRGBToGray(lept.PIX pixs,
float rwt,
float gwt,
float bwt) |
static lept.PIX |
pixConvertRGBToGrayFast(lept.PIX pixs) |
static lept.PIX |
pixConvertRGBToGrayMinMax(lept.PIX pixs,
int type) |
static lept.PIX |
pixConvertRGBToGraySatBoost(lept.PIX pixs,
int refval) |
static lept.PIX |
pixConvertRGBToHSV(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixConvertRGBToHue(lept.PIX pixs) |
static lept.PIX |
pixConvertRGBToLuminance(lept.PIX pixs) |
static lept.PIX |
pixConvertRGBToSaturation(lept.PIX pixs) |
static lept.PIX |
pixConvertRGBToValue(lept.PIX pixs) |
static lept.PIX |
pixConvertRGBToYUV(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixConvertTo1(lept.PIX pixs,
int threshold) |
static lept.PIX |
pixConvertTo16(lept.PIX pixs) |
static lept.PIX |
pixConvertTo1BySampling(lept.PIX pixs,
int factor,
int threshold) |
static lept.PIX |
pixConvertTo32(lept.PIX pixs) |
static lept.PIX |
pixConvertTo32BySampling(lept.PIX pixs,
int factor) |
static lept.PIX |
pixConvertTo8(lept.PIX pixs,
int cmapflag) |
static lept.PIX |
pixConvertTo8BySampling(lept.PIX pixs,
int factor,
int cmapflag) |
static lept.PIX |
pixConvertTo8Color(lept.PIX pixs,
int dither) |
static lept.PIX |
pixConvertTo8Or32(lept.PIX pixs,
int copyflag,
int warnflag) |
static lept.DPIX |
pixConvertToDPix(lept.PIX pixs,
int ncomps) |
static lept.FPIX |
pixConvertToFPix(lept.PIX pixs,
int ncomps) |
static int |
pixConvertToPdf(lept.PIX pix,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdf(lept.PIX pix,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
PointerPointer plpd,
int position) |
static int |
pixConvertToPdf(lept.PIX pix,
int type,
int quality,
String fileout,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
ByteBuffer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
ByteBuffer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
BytePointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
BytePointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position) |
static int |
pixConvertToPdfData(lept.PIX pix,
int type,
int quality,
PointerPointer pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
PointerPointer plpd,
int position) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfDataSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
pixConvertToPdfSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
BytePointer title,
BytePointer fileout) |
static int |
pixConvertToPdfSegmented(lept.PIX pixs,
int res,
int type,
int thresh,
lept.BOXA boxa,
int quality,
float scalefactor,
String title,
String fileout) |
static lept.PIX |
pixConvertToSubpixelRGB(lept.PIX pixs,
float scalex,
float scaley,
int order) |
static lept.PIX |
pixConvertYUVToRGB(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixConvolve(lept.PIX pixs,
lept.L_KERNEL kel,
int outdepth,
int normflag) |
static lept.PIX |
pixConvolveRGB(lept.PIX pixs,
lept.L_KERNEL kel) |
static lept.PIX |
pixConvolveRGBSep(lept.PIX pixs,
lept.L_KERNEL kelx,
lept.L_KERNEL kely) |
static lept.PIX |
pixConvolveSep(lept.PIX pixs,
lept.L_KERNEL kelx,
lept.L_KERNEL kely,
int outdepth,
int normflag) |
static lept.PIX |
pixConvolveWithBias(lept.PIX pixs,
lept.L_KERNEL kel1,
lept.L_KERNEL kel2,
int force8,
int[] pbias) |
static lept.PIX |
pixConvolveWithBias(lept.PIX pixs,
lept.L_KERNEL kel1,
lept.L_KERNEL kel2,
int force8,
IntBuffer pbias) |
static lept.PIX |
pixConvolveWithBias(lept.PIX pixs,
lept.L_KERNEL kel1,
lept.L_KERNEL kel2,
int force8,
IntPointer pbias) |
static lept.PIX |
pixCopy(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixCopyBorder(lept.PIX pixd,
lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static int |
pixCopyColormap(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixCopyDimensions(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixCopyInputFormat(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixCopyResolution(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixCopyRGBComponent(lept.PIX pixd,
lept.PIX pixs,
int comp) |
static int |
pixCopySpp(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixCopyText(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixCorrelationBinary(lept.PIX pix1,
lept.PIX pix2,
float[] pval) |
static int |
pixCorrelationBinary(lept.PIX pix1,
lept.PIX pix2,
FloatBuffer pval) |
static int |
pixCorrelationBinary(lept.PIX pix1,
lept.PIX pix2,
FloatPointer pval) |
static int |
pixCorrelationScore(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
int[] tab,
float[] pscore) |
static int |
pixCorrelationScore(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
IntBuffer tab,
FloatBuffer pscore) |
static int |
pixCorrelationScore(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
IntPointer tab,
FloatPointer pscore) |
static int |
pixCorrelationScoreShifted(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
int delx,
int dely,
int[] tab,
float[] pscore) |
static int |
pixCorrelationScoreShifted(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
int delx,
int dely,
IntBuffer tab,
FloatBuffer pscore) |
static int |
pixCorrelationScoreShifted(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
int delx,
int dely,
IntPointer tab,
FloatPointer pscore) |
static int |
pixCorrelationScoreSimple(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
int[] tab,
float[] pscore) |
static int |
pixCorrelationScoreSimple(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
IntBuffer tab,
FloatBuffer pscore) |
static int |
pixCorrelationScoreSimple(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
IntPointer tab,
FloatPointer pscore) |
static int |
pixCorrelationScoreThresholded(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
int[] tab,
int[] downcount,
float score_threshold) |
static int |
pixCorrelationScoreThresholded(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
IntBuffer tab,
IntBuffer downcount,
float score_threshold) |
static int |
pixCorrelationScoreThresholded(lept.PIX pix1,
lept.PIX pix2,
int area1,
int area2,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
IntPointer tab,
IntPointer downcount,
float score_threshold) |
static int |
pixCountArbInRect(lept.PIX pixs,
lept.BOX box,
int val,
int factor,
int[] pcount) |
static int |
pixCountArbInRect(lept.PIX pixs,
lept.BOX box,
int val,
int factor,
IntBuffer pcount) |
static int |
pixCountArbInRect(lept.PIX pixs,
lept.BOX box,
int val,
int factor,
IntPointer pcount) |
static lept.NUMA |
pixCountByColumn(lept.PIX pix,
lept.BOX box) |
static lept.NUMA |
pixCountByRow(lept.PIX pix,
lept.BOX box) |
static int |
pixCountConnComp(lept.PIX pixs,
int connectivity,
int[] pcount) |
static int |
pixCountConnComp(lept.PIX pixs,
int connectivity,
IntBuffer pcount) |
static int |
pixCountConnComp(lept.PIX pixs,
int connectivity,
IntPointer pcount) |
static int |
pixCountPixels(lept.PIX pix,
int[] pcount,
int[] tab8) |
static int |
pixCountPixels(lept.PIX pix,
IntBuffer pcount,
IntBuffer tab8) |
static int |
pixCountPixels(lept.PIX pix,
IntPointer pcount,
IntPointer tab8) |
static lept.NUMA |
pixCountPixelsByColumn(lept.PIX pix) |
static lept.NUMA |
pixCountPixelsByRow(lept.PIX pix,
int[] tab8) |
static lept.NUMA |
pixCountPixelsByRow(lept.PIX pix,
IntBuffer tab8) |
static lept.NUMA |
pixCountPixelsByRow(lept.PIX pix,
IntPointer tab8) |
static int |
pixCountPixelsInRow(lept.PIX pix,
int row,
int[] pcount,
int[] tab8) |
static int |
pixCountPixelsInRow(lept.PIX pix,
int row,
IntBuffer pcount,
IntBuffer tab8) |
static int |
pixCountPixelsInRow(lept.PIX pix,
int row,
IntPointer pcount,
IntPointer tab8) |
static lept.PIX |
pixCreate(int width,
int height,
int depth) |
static lept.PIX |
pixCreateFromPixcomp(lept.PIXC pixc) |
static lept.PIX |
pixCreateHeader(int width,
int height,
int depth) |
static lept.PIX |
pixCreateNoInit(int width,
int height,
int depth) |
static lept.PIX |
pixCreateRGBImage(lept.PIX pixr,
lept.PIX pixg,
lept.PIX pixb) |
static lept.PIX |
pixCreateTemplate(lept.PIX pixs) |
static lept.PIX |
pixCreateTemplateNoInit(lept.PIX pixs) |
static int |
pixCropToMatch(lept.PIX pixs1,
lept.PIX pixs2,
lept.PIX ppixd1,
lept.PIX ppixd2) |
static int |
pixCropToMatch(lept.PIX pixs1,
lept.PIX pixs2,
PointerPointer ppixd1,
PointerPointer ppixd2) |
static lept.PIX |
pixCropToSize(lept.PIX pixs,
int w,
int h) |
static lept.PIX |
pixDeserializeFromMemory(int[] data,
long nbytes) |
static lept.PIX |
pixDeserializeFromMemory(IntBuffer data,
long nbytes) |
static lept.PIX |
pixDeserializeFromMemory(IntPointer data,
long nbytes) |
static lept.PIX |
pixDeskew(lept.PIX pixs,
int redsearch) |
static lept.PIX |
pixDeskewBarcode(lept.PIX pixs,
lept.PIX pixb,
lept.BOX box,
int margin,
int threshold,
float[] pangle,
float[] pconf) |
static lept.PIX |
pixDeskewBarcode(lept.PIX pixs,
lept.PIX pixb,
lept.BOX box,
int margin,
int threshold,
FloatBuffer pangle,
FloatBuffer pconf) |
static lept.PIX |
pixDeskewBarcode(lept.PIX pixs,
lept.PIX pixb,
lept.BOX box,
int margin,
int threshold,
FloatPointer pangle,
FloatPointer pconf) |
static lept.PIX |
pixDeskewGeneral(lept.PIX pixs,
int redsweep,
float sweeprange,
float sweepdelta,
int redsearch,
int thresh,
float[] pangle,
float[] pconf) |
static lept.PIX |
pixDeskewGeneral(lept.PIX pixs,
int redsweep,
float sweeprange,
float sweepdelta,
int redsearch,
int thresh,
FloatBuffer pangle,
FloatBuffer pconf) |
static lept.PIX |
pixDeskewGeneral(lept.PIX pixs,
int redsweep,
float sweeprange,
float sweepdelta,
int redsearch,
int thresh,
FloatPointer pangle,
FloatPointer pconf) |
static lept.PIX |
pixDeskewLocal(lept.PIX pixs,
int nslices,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static void |
pixDestroy(lept.PIX ppix) |
static void |
pixDestroy(PointerPointer ppix) |
static int |
pixDestroyColormap(lept.PIX pix) |
static lept.PIX |
pixDilate(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixDilateBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixDilateBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixDilateCompBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixDilateCompBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixDilateCompBrickExtendDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixDilateGray(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixDilateGray3(lept.PIX pixs,
int hsize,
int vsize) |
static int |
pixDisplay(lept.PIX pixs,
int x,
int y) |
static lept.PIX |
pixDisplayColorArray(int[] carray,
int ncolors,
int side,
int ncols,
BytePointer fontdir) |
static lept.PIX |
pixDisplayColorArray(int[] carray,
int ncolors,
int side,
int ncols,
String fontdir) |
static lept.PIX |
pixDisplayColorArray(IntBuffer carray,
int ncolors,
int side,
int ncols,
BytePointer fontdir) |
static lept.PIX |
pixDisplayColorArray(IntBuffer carray,
int ncolors,
int side,
int ncols,
String fontdir) |
static lept.PIX |
pixDisplayColorArray(IntPointer carray,
int ncolors,
int side,
int ncols,
BytePointer fontdir) |
static lept.PIX |
pixDisplayColorArray(IntPointer carray,
int ncolors,
int side,
int ncols,
String fontdir) |
static lept.PIX |
pixDisplayDiffBinary(lept.PIX pix1,
lept.PIX pix2) |
static lept.PIX |
pixDisplayHitMissSel(lept.PIX pixs,
lept.SEL sel,
int scalefactor,
int hitcolor,
int misscolor) |
static lept.PIX |
pixDisplayLayersRGBA(lept.PIX pixs,
int val,
int maxw) |
static lept.PIX |
pixDisplayMatchedPattern(lept.PIX pixs,
lept.PIX pixp,
lept.PIX pixe,
int x0,
int y0,
int color,
float scale,
int nlevels) |
static int |
pixDisplayMultiple(BytePointer filepattern) |
static int |
pixDisplayMultiple(String filepattern) |
static lept.PIX |
pixDisplayPta(lept.PIX pixd,
lept.PIX pixs,
lept.PTA pta) |
static lept.PIX |
pixDisplayPtaa(lept.PIX pixs,
lept.PTAA ptaa) |
static lept.PIX |
pixDisplayPtaaPattern(lept.PIX pixd,
lept.PIX pixs,
lept.PTAA ptaa,
lept.PIX pixp,
int cx,
int cy) |
static lept.PIX |
pixDisplayPtaPattern(lept.PIX pixd,
lept.PIX pixs,
lept.PTA pta,
lept.PIX pixp,
int cx,
int cy,
int color) |
static int |
pixDisplayWithTitle(lept.PIX pixs,
int x,
int y,
BytePointer title,
int dispflag) |
static int |
pixDisplayWithTitle(lept.PIX pixs,
int x,
int y,
String title,
int dispflag) |
static int |
pixDisplayWrite(lept.PIX pixs,
int reduction) |
static int |
pixDisplayWriteFormat(lept.PIX pixs,
int reduction,
int format) |
static lept.PIX |
pixDistanceFunction(lept.PIX pixs,
int connectivity,
int outdepth,
int boundcond) |
static lept.PIX |
pixDitherTo2bpp(lept.PIX pixs,
int cmapflag) |
static lept.PIX |
pixDitherTo2bppSpec(lept.PIX pixs,
int lowerclip,
int upperclip,
int cmapflag) |
static lept.PIX |
pixDitherToBinary(lept.PIX pixs) |
static lept.PIX |
pixDitherToBinaryLUT(lept.PIX pixs,
int lowerclip,
int upperclip) |
static lept.PIX |
pixDitherToBinarySpec(lept.PIX pixs,
int lowerclip,
int upperclip) |
static lept.PIX |
pixDrawBoxa(lept.PIX pixs,
lept.BOXA boxa,
int width,
int val) |
static lept.PIX |
pixDrawBoxaRandom(lept.PIX pixs,
lept.BOXA boxa,
int width) |
static int |
pixelFractionalShift(int rval,
int gval,
int bval,
float fraction,
int[] ppixel) |
static int |
pixelFractionalShift(int rval,
int gval,
int bval,
float fraction,
IntBuffer ppixel) |
static int |
pixelFractionalShift(int rval,
int gval,
int bval,
float fraction,
IntPointer ppixel) |
static int |
pixelLinearMapToTargetColor(int scolor,
int srcmap,
int dstmap,
int[] pdcolor) |
static int |
pixelLinearMapToTargetColor(int scolor,
int srcmap,
int dstmap,
IntBuffer pdcolor) |
static int |
pixelLinearMapToTargetColor(int scolor,
int srcmap,
int dstmap,
IntPointer pdcolor) |
static int |
pixelShiftByComponent(int rval,
int gval,
int bval,
int srcval,
int dstval,
int[] ppixel) |
static int |
pixelShiftByComponent(int rval,
int gval,
int bval,
int srcval,
int dstval,
IntBuffer ppixel) |
static int |
pixelShiftByComponent(int rval,
int gval,
int bval,
int srcval,
int dstval,
IntPointer ppixel) |
static lept.PIX |
pixEmbedForRotation(lept.PIX pixs,
float angle,
int incolor,
int width,
int height) |
static int |
pixEndianByteSwap(lept.PIX pixs) |
static lept.PIX |
pixEndianByteSwapNew(lept.PIX pixs) |
static int |
pixEndianTwoByteSwap(lept.PIX pixs) |
static lept.PIX |
pixEndianTwoByteSwapNew(lept.PIX pixs) |
static int |
pixEqual(lept.PIX pix1,
lept.PIX pix2,
int[] psame) |
static int |
pixEqual(lept.PIX pix1,
lept.PIX pix2,
IntBuffer psame) |
static int |
pixEqual(lept.PIX pix1,
lept.PIX pix2,
IntPointer psame) |
static lept.PIX |
pixEqualizeTRC(lept.PIX pixd,
lept.PIX pixs,
float fract,
int factor) |
static int |
pixEqualWithAlpha(lept.PIX pix1,
lept.PIX pix2,
int use_alpha,
int[] psame) |
static int |
pixEqualWithAlpha(lept.PIX pix1,
lept.PIX pix2,
int use_alpha,
IntBuffer psame) |
static int |
pixEqualWithAlpha(lept.PIX pix1,
lept.PIX pix2,
int use_alpha,
IntPointer psame) |
static int |
pixEqualWithCmap(lept.PIX pix1,
lept.PIX pix2,
int[] psame) |
static int |
pixEqualWithCmap(lept.PIX pix1,
lept.PIX pix2,
IntBuffer psame) |
static int |
pixEqualWithCmap(lept.PIX pix1,
lept.PIX pix2,
IntPointer psame) |
static lept.PIX |
pixErode(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixErodeBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixErodeBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixErodeCompBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixErodeCompBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixErodeCompBrickExtendDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixErodeGray(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixErodeGray3(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixExpandBinaryPower2(lept.PIX pixs,
int factor) |
static lept.PIX |
pixExpandBinaryReplicate(lept.PIX pixs,
int factor) |
static lept.PIX |
pixExpandReplicate(lept.PIX pixs,
int factor) |
static lept.PIX |
pixExtendByReplication(lept.PIX pixs,
int addw,
int addh) |
static lept.NUMA |
pixExtractBarcodeCrossings(lept.PIX pixs,
float thresh,
int debugflag) |
static lept.PIXA |
pixExtractBarcodes(lept.PIX pixs,
int debugflag) |
static lept.NUMA |
pixExtractBarcodeWidths1(lept.PIX pixs,
float thresh,
float binfract,
lept.NUMA pnaehist,
lept.NUMA pnaohist,
int debugflag) |
static lept.NUMA |
pixExtractBarcodeWidths1(lept.PIX pixs,
float thresh,
float binfract,
PointerPointer pnaehist,
PointerPointer pnaohist,
int debugflag) |
static lept.NUMA |
pixExtractBarcodeWidths2(lept.PIX pixs,
float thresh,
float[] pwidth,
lept.NUMA pnac,
int debugflag) |
static lept.NUMA |
pixExtractBarcodeWidths2(lept.PIX pixs,
float thresh,
FloatBuffer pwidth,
lept.NUMA pnac,
int debugflag) |
static lept.NUMA |
pixExtractBarcodeWidths2(lept.PIX pixs,
float thresh,
FloatPointer pwidth,
lept.NUMA pnac,
int debugflag) |
static lept.NUMA |
pixExtractBarcodeWidths2(lept.PIX pixs,
float thresh,
FloatPointer pwidth,
PointerPointer pnac,
int debugflag) |
static lept.PIX |
pixExtractBorderConnComps(lept.PIX pixs,
int connectivity) |
static lept.PIX |
pixExtractBoundary(lept.PIX pixs,
int type) |
static IntPointer |
pixExtractData(lept.PIX pixs) |
static lept.NUMA |
pixExtractOnLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2,
int factor) |
static lept.PIX |
pixFadeWithGray(lept.PIX pixs,
lept.PIX pixb,
float factor,
int type) |
static lept.PIX |
pixFastTophat(lept.PIX pixs,
int xsize,
int ysize,
int type) |
static lept.PIX |
pixFewColorsMedianCutQuantMixed(lept.PIX pixs,
int ncolor,
int ngray,
int maxncolors,
int darkthresh,
int lightthresh,
int diffthresh) |
static lept.PIX |
pixFewColorsOctcubeQuant1(lept.PIX pixs,
int level) |
static lept.PIX |
pixFewColorsOctcubeQuant2(lept.PIX pixs,
int level,
lept.NUMA na,
int ncolors,
int[] pnerrors) |
static lept.PIX |
pixFewColorsOctcubeQuant2(lept.PIX pixs,
int level,
lept.NUMA na,
int ncolors,
IntBuffer pnerrors) |
static lept.PIX |
pixFewColorsOctcubeQuant2(lept.PIX pixs,
int level,
lept.NUMA na,
int ncolors,
IntPointer pnerrors) |
static lept.PIX |
pixFewColorsOctcubeQuantMixed(lept.PIX pixs,
int level,
int darkthresh,
int lightthresh,
int diffthresh,
float minfract,
int maxspan) |
static lept.PIX |
pixFHMTGen_1(lept.PIX pixd,
lept.PIX pixs,
byte[] selname) |
static lept.PIX |
pixFHMTGen_1(lept.PIX pixd,
lept.PIX pixs,
ByteBuffer selname) |
static lept.PIX |
pixFHMTGen_1(lept.PIX pixd,
lept.PIX pixs,
BytePointer selname) |
static lept.PIX |
pixFillBgFromBorder(lept.PIX pixs,
int connectivity) |
static lept.PIX |
pixFillClosedBorders(lept.PIX pixs,
int connectivity) |
static lept.PIX |
pixFillHolesToBoundingRect(lept.PIX pixs,
int minsize,
float maxhfract,
float minfgfract) |
static int |
pixFillMapHoles(lept.PIX pix,
int nx,
int ny,
int filltype) |
static lept.PIX |
pixFillPolygon(lept.PIX pixs,
lept.PTA pta,
int xmin,
int ymin) |
static lept.PIX |
pixFinalAccumulate(lept.PIX pixs,
int offset,
int depth) |
static lept.PIX |
pixFinalAccumulateThreshold(lept.PIX pixs,
int offset,
int threshold) |
static int |
pixFindAreaFraction(lept.PIX pixs,
int[] tab,
float[] pfract) |
static int |
pixFindAreaFraction(lept.PIX pixs,
IntBuffer tab,
FloatBuffer pfract) |
static int |
pixFindAreaFraction(lept.PIX pixs,
IntPointer tab,
FloatPointer pfract) |
static int |
pixFindAreaFractionMasked(lept.PIX pixs,
lept.BOX box,
lept.PIX pixm,
int[] tab,
float[] pfract) |
static int |
pixFindAreaFractionMasked(lept.PIX pixs,
lept.BOX box,
lept.PIX pixm,
IntBuffer tab,
FloatBuffer pfract) |
static int |
pixFindAreaFractionMasked(lept.PIX pixs,
lept.BOX box,
lept.PIX pixm,
IntPointer tab,
FloatPointer pfract) |
static int |
pixFindAreaPerimRatio(lept.PIX pixs,
int[] tab,
float[] pfract) |
static int |
pixFindAreaPerimRatio(lept.PIX pixs,
IntBuffer tab,
FloatBuffer pfract) |
static int |
pixFindAreaPerimRatio(lept.PIX pixs,
IntPointer tab,
FloatPointer pfract) |
static lept.NUMA |
pixFindBaselines(lept.PIX pixs,
lept.PTA ppta,
int debug) |
static lept.NUMA |
pixFindBaselines(lept.PIX pixs,
PointerPointer ppta,
int debug) |
static lept.PTA |
pixFindCornerPixels(lept.PIX pixs) |
static int |
pixFindDifferentialSquareSum(lept.PIX pixs,
float[] psum) |
static int |
pixFindDifferentialSquareSum(lept.PIX pixs,
FloatBuffer psum) |
static int |
pixFindDifferentialSquareSum(lept.PIX pixs,
FloatPointer psum) |
static lept.PIX |
pixFindEqualValues(lept.PIX pixs1,
lept.PIX pixs2) |
static int |
pixFindHistoPeaksHSV(lept.PIX pixs,
int type,
int width,
int height,
int npeaks,
float erasefactor,
lept.PTA ppta,
lept.NUMA pnatot,
lept.PIXA ppixa) |
static int |
pixFindHistoPeaksHSV(lept.PIX pixs,
int type,
int width,
int height,
int npeaks,
float erasefactor,
PointerPointer ppta,
PointerPointer pnatot,
PointerPointer ppixa) |
static int |
pixFindHorizontalRuns(lept.PIX pix,
int y,
int[] xstart,
int[] xend,
int[] pn) |
static int |
pixFindHorizontalRuns(lept.PIX pix,
int y,
IntBuffer xstart,
IntBuffer xend,
IntBuffer pn) |
static int |
pixFindHorizontalRuns(lept.PIX pix,
int y,
IntPointer xstart,
IntPointer xend,
IntPointer pn) |
static int |
pixFindLargestRectangle(lept.PIX pixs,
int polarity,
lept.BOX pbox,
BytePointer debugfile) |
static int |
pixFindLargestRectangle(lept.PIX pixs,
int polarity,
lept.BOX pbox,
String debugfile) |
static int |
pixFindLargestRectangle(lept.PIX pixs,
int polarity,
PointerPointer pbox,
BytePointer debugfile) |
static int |
pixFindMaxHorizontalRunOnLine(lept.PIX pix,
int y,
int[] pxstart,
int[] psize) |
static int |
pixFindMaxHorizontalRunOnLine(lept.PIX pix,
int y,
IntBuffer pxstart,
IntBuffer psize) |
static int |
pixFindMaxHorizontalRunOnLine(lept.PIX pix,
int y,
IntPointer pxstart,
IntPointer psize) |
static lept.NUMA |
pixFindMaxRuns(lept.PIX pix,
int direction,
lept.NUMA pnastart) |
static lept.NUMA |
pixFindMaxRuns(lept.PIX pix,
int direction,
PointerPointer pnastart) |
static int |
pixFindMaxVerticalRunOnLine(lept.PIX pix,
int x,
int[] pystart,
int[] psize) |
static int |
pixFindMaxVerticalRunOnLine(lept.PIX pix,
int x,
IntBuffer pystart,
IntBuffer psize) |
static int |
pixFindMaxVerticalRunOnLine(lept.PIX pix,
int x,
IntPointer pystart,
IntPointer psize) |
static int |
pixFindNormalizedSquareSum(lept.PIX pixs,
float[] phratio,
float[] pvratio,
float[] pfract) |
static int |
pixFindNormalizedSquareSum(lept.PIX pixs,
FloatBuffer phratio,
FloatBuffer pvratio,
FloatBuffer pfract) |
static int |
pixFindNormalizedSquareSum(lept.PIX pixs,
FloatPointer phratio,
FloatPointer pvratio,
FloatPointer pfract) |
static int |
pixFindOverlapFraction(lept.PIX pixs1,
lept.PIX pixs2,
int x2,
int y2,
int[] tab,
float[] pratio,
int[] pnoverlap) |
static int |
pixFindOverlapFraction(lept.PIX pixs1,
lept.PIX pixs2,
int x2,
int y2,
IntBuffer tab,
FloatBuffer pratio,
IntBuffer pnoverlap) |
static int |
pixFindOverlapFraction(lept.PIX pixs1,
lept.PIX pixs2,
int x2,
int y2,
IntPointer tab,
FloatPointer pratio,
IntPointer pnoverlap) |
static lept.BOX |
pixFindPageForeground(lept.PIX pixs,
int threshold,
int mindist,
int erasedist,
int pagenum,
int showmorph,
int display,
BytePointer pdfdir) |
static lept.BOX |
pixFindPageForeground(lept.PIX pixs,
int threshold,
int mindist,
int erasedist,
int pagenum,
int showmorph,
int display,
String pdfdir) |
static int |
pixFindPerimSizeRatio(lept.PIX pixs,
int[] tab,
float[] pratio) |
static int |
pixFindPerimSizeRatio(lept.PIX pixs,
IntBuffer tab,
FloatBuffer pratio) |
static int |
pixFindPerimSizeRatio(lept.PIX pixs,
IntPointer tab,
FloatPointer pratio) |
static int |
pixFindPerimToAreaRatio(lept.PIX pixs,
int[] tab,
float[] pfract) |
static int |
pixFindPerimToAreaRatio(lept.PIX pixs,
IntBuffer tab,
FloatBuffer pfract) |
static int |
pixFindPerimToAreaRatio(lept.PIX pixs,
IntPointer tab,
FloatPointer pfract) |
static lept.BOXA |
pixFindRectangleComps(lept.PIX pixs,
int dist,
int minw,
int minh) |
static int |
pixFindSkew(lept.PIX pixs,
float[] pangle,
float[] pconf) |
static int |
pixFindSkew(lept.PIX pixs,
FloatBuffer pangle,
FloatBuffer pconf) |
static int |
pixFindSkew(lept.PIX pixs,
FloatPointer pangle,
FloatPointer pconf) |
static lept.PIX |
pixFindSkewAndDeskew(lept.PIX pixs,
int redsearch,
float[] pangle,
float[] pconf) |
static lept.PIX |
pixFindSkewAndDeskew(lept.PIX pixs,
int redsearch,
FloatBuffer pangle,
FloatBuffer pconf) |
static lept.PIX |
pixFindSkewAndDeskew(lept.PIX pixs,
int redsearch,
FloatPointer pangle,
FloatPointer pconf) |
static int |
pixFindSkewOrthogonalRange(lept.PIX pixs,
float[] pangle,
float[] pconf,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
float confprior) |
static int |
pixFindSkewOrthogonalRange(lept.PIX pixs,
FloatBuffer pangle,
FloatBuffer pconf,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
float confprior) |
static int |
pixFindSkewOrthogonalRange(lept.PIX pixs,
FloatPointer pangle,
FloatPointer pconf,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
float confprior) |
static int |
pixFindSkewSweep(lept.PIX pixs,
float[] pangle,
int reduction,
float sweeprange,
float sweepdelta) |
static int |
pixFindSkewSweep(lept.PIX pixs,
FloatBuffer pangle,
int reduction,
float sweeprange,
float sweepdelta) |
static int |
pixFindSkewSweep(lept.PIX pixs,
FloatPointer pangle,
int reduction,
float sweeprange,
float sweepdelta) |
static int |
pixFindSkewSweepAndSearch(lept.PIX pixs,
float[] pangle,
float[] pconf,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static int |
pixFindSkewSweepAndSearch(lept.PIX pixs,
FloatBuffer pangle,
FloatBuffer pconf,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static int |
pixFindSkewSweepAndSearch(lept.PIX pixs,
FloatPointer pangle,
FloatPointer pconf,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static int |
pixFindSkewSweepAndSearchScore(lept.PIX pixs,
float[] pangle,
float[] pconf,
float[] pendscore,
int redsweep,
int redsearch,
float sweepcenter,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static int |
pixFindSkewSweepAndSearchScore(lept.PIX pixs,
FloatBuffer pangle,
FloatBuffer pconf,
FloatBuffer pendscore,
int redsweep,
int redsearch,
float sweepcenter,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static int |
pixFindSkewSweepAndSearchScore(lept.PIX pixs,
FloatPointer pangle,
FloatPointer pconf,
FloatPointer pendscore,
int redsweep,
int redsearch,
float sweepcenter,
float sweeprange,
float sweepdelta,
float minbsdelta) |
static int |
pixFindSkewSweepAndSearchScorePivot(lept.PIX pixs,
float[] pangle,
float[] pconf,
float[] pendscore,
int redsweep,
int redsearch,
float sweepcenter,
float sweeprange,
float sweepdelta,
float minbsdelta,
int pivot) |
static int |
pixFindSkewSweepAndSearchScorePivot(lept.PIX pixs,
FloatBuffer pangle,
FloatBuffer pconf,
FloatBuffer pendscore,
int redsweep,
int redsearch,
float sweepcenter,
float sweeprange,
float sweepdelta,
float minbsdelta,
int pivot) |
static int |
pixFindSkewSweepAndSearchScorePivot(lept.PIX pixs,
FloatPointer pangle,
FloatPointer pconf,
FloatPointer pendscore,
int redsweep,
int redsearch,
float sweepcenter,
float sweeprange,
float sweepdelta,
float minbsdelta,
int pivot) |
static int |
pixFindVerticalRuns(lept.PIX pix,
int x,
int[] ystart,
int[] yend,
int[] pn) |
static int |
pixFindVerticalRuns(lept.PIX pix,
int x,
IntBuffer ystart,
IntBuffer yend,
IntBuffer pn) |
static int |
pixFindVerticalRuns(lept.PIX pix,
int x,
IntPointer ystart,
IntPointer yend,
IntPointer pn) |
static lept.PIX |
pixFixedOctcubeQuant256(lept.PIX pixs,
int ditherflag) |
static lept.PIX |
pixFixedOctcubeQuantGenRGB(lept.PIX pixs,
int level) |
static lept.PIX |
pixFlipFHMTGen(lept.PIX pixd,
lept.PIX pixs,
byte[] selname) |
static lept.PIX |
pixFlipFHMTGen(lept.PIX pixd,
lept.PIX pixs,
ByteBuffer selname) |
static lept.PIX |
pixFlipFHMTGen(lept.PIX pixd,
lept.PIX pixs,
BytePointer selname) |
static lept.PIX |
pixFlipLR(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixFlipPixel(lept.PIX pix,
int x,
int y) |
static lept.PIX |
pixFlipTB(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixFMorphopGen_1(lept.PIX pixd,
lept.PIX pixs,
int operation,
byte[] selname) |
static lept.PIX |
pixFMorphopGen_1(lept.PIX pixd,
lept.PIX pixs,
int operation,
ByteBuffer selname) |
static lept.PIX |
pixFMorphopGen_1(lept.PIX pixd,
lept.PIX pixs,
int operation,
BytePointer selname) |
static lept.PIX |
pixFMorphopGen_2(lept.PIX pixd,
lept.PIX pixs,
int operation,
byte[] selname) |
static lept.PIX |
pixFMorphopGen_2(lept.PIX pixd,
lept.PIX pixs,
int operation,
ByteBuffer selname) |
static lept.PIX |
pixFMorphopGen_2(lept.PIX pixd,
lept.PIX pixs,
int operation,
BytePointer selname) |
static int |
pixForegroundFraction(lept.PIX pix,
float[] pfract) |
static int |
pixForegroundFraction(lept.PIX pix,
FloatBuffer pfract) |
static int |
pixForegroundFraction(lept.PIX pix,
FloatPointer pfract) |
static int |
pixFreeData(lept.PIX pix) |
static lept.PIX |
pixGammaTRC(lept.PIX pixd,
lept.PIX pixs,
float gamma,
int minval,
int maxval) |
static lept.PIX |
pixGammaTRCMasked(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
float gamma,
int minval,
int maxval) |
static lept.PIX |
pixGammaTRCWithAlpha(lept.PIX pixd,
lept.PIX pixs,
float gamma,
int minval,
int maxval) |
static int |
pixGenerateCIData(lept.PIX pixs,
int type,
int quality,
int ascii85,
lept.L_COMP_DATA pcid) |
static int |
pixGenerateCIData(lept.PIX pixs,
int type,
int quality,
int ascii85,
PointerPointer pcid) |
static lept.PIX |
pixGenerateFromPta(lept.PTA pta,
int w,
int h) |
static lept.PIX |
pixGenerateMaskByBand(lept.PIX pixs,
int lower,
int upper,
int inband,
int usecmap) |
static lept.PIX |
pixGenerateMaskByBand32(lept.PIX pixs,
int refval,
int delm,
int delp,
float fractm,
float fractp) |
static lept.PIX |
pixGenerateMaskByDiscr32(lept.PIX pixs,
int refval1,
int refval2,
int distflag) |
static lept.PIX |
pixGenerateMaskByValue(lept.PIX pixs,
int val,
int usecmap) |
static lept.SEL |
pixGenerateSelBoundary(lept.PIX pixs,
int hitdist,
int missdist,
int hitskip,
int missskip,
int topflag,
int botflag,
int leftflag,
int rightflag,
lept.PIX ppixe) |
static lept.SEL |
pixGenerateSelBoundary(lept.PIX pixs,
int hitdist,
int missdist,
int hitskip,
int missskip,
int topflag,
int botflag,
int leftflag,
int rightflag,
PointerPointer ppixe) |
static lept.SEL |
pixGenerateSelRandom(lept.PIX pixs,
float hitfract,
float missfract,
int distance,
int toppix,
int botpix,
int leftpix,
int rightpix,
lept.PIX ppixe) |
static lept.SEL |
pixGenerateSelRandom(lept.PIX pixs,
float hitfract,
float missfract,
int distance,
int toppix,
int botpix,
int leftpix,
int rightpix,
PointerPointer ppixe) |
static lept.SEL |
pixGenerateSelWithRuns(lept.PIX pixs,
int nhlines,
int nvlines,
int distance,
int minlength,
int toppix,
int botpix,
int leftpix,
int rightpix,
lept.PIX ppixe) |
static lept.SEL |
pixGenerateSelWithRuns(lept.PIX pixs,
int nhlines,
int nvlines,
int distance,
int minlength,
int toppix,
int botpix,
int leftpix,
int rightpix,
PointerPointer ppixe) |
static lept.PIX |
pixGenHalftoneMask(lept.PIX pixs,
lept.PIX ppixtext,
int[] phtfound,
int debug) |
static lept.PIX |
pixGenHalftoneMask(lept.PIX pixs,
lept.PIX ppixtext,
IntBuffer phtfound,
int debug) |
static lept.PIX |
pixGenHalftoneMask(lept.PIX pixs,
lept.PIX ppixtext,
IntPointer phtfound,
int debug) |
static lept.PIX |
pixGenHalftoneMask(lept.PIX pixs,
PointerPointer ppixtext,
IntPointer phtfound,
int debug) |
static lept.PIX |
pixGenTextblockMask(lept.PIX pixs,
lept.PIX pixvws,
int debug) |
static lept.PIX |
pixGenTextlineMask(lept.PIX pixs,
lept.PIX ppixvws,
int[] ptlfound,
int debug) |
static lept.PIX |
pixGenTextlineMask(lept.PIX pixs,
lept.PIX ppixvws,
IntBuffer ptlfound,
int debug) |
static lept.PIX |
pixGenTextlineMask(lept.PIX pixs,
lept.PIX ppixvws,
IntPointer ptlfound,
int debug) |
static lept.PIX |
pixGenTextlineMask(lept.PIX pixs,
PointerPointer ppixvws,
IntPointer ptlfound,
int debug) |
static lept.CCBORDA |
pixGetAllCCBorders(lept.PIX pixs) |
static int |
pixGetAverageMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
int type,
float[] pval) |
static int |
pixGetAverageMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
int type,
FloatBuffer pval) |
static int |
pixGetAverageMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
int type,
FloatPointer pval) |
static int |
pixGetAverageMaskedRGB(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
int type,
float[] prval,
float[] pgval,
float[] pbval) |
static int |
pixGetAverageMaskedRGB(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
int type,
FloatBuffer prval,
FloatBuffer pgval,
FloatBuffer pbval) |
static int |
pixGetAverageMaskedRGB(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
int type,
FloatPointer prval,
FloatPointer pgval,
FloatPointer pbval) |
static lept.PIX |
pixGetAverageTiled(lept.PIX pixs,
int sx,
int sy,
int type) |
static int |
pixGetAverageTiledRGB(lept.PIX pixs,
int sx,
int sy,
int type,
lept.PIX ppixr,
lept.PIX ppixg,
lept.PIX ppixb) |
static int |
pixGetAverageTiledRGB(lept.PIX pixs,
int sx,
int sy,
int type,
PointerPointer ppixr,
PointerPointer ppixg,
PointerPointer ppixb) |
static int |
pixGetAverageValue(lept.PIX pixs,
int factor,
int type,
int[] pvalue) |
static int |
pixGetAverageValue(lept.PIX pixs,
int factor,
int type,
IntBuffer pvalue) |
static int |
pixGetAverageValue(lept.PIX pixs,
int factor,
int type,
IntPointer pvalue) |
static int |
pixGetBackgroundGrayMap(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
lept.PIX ppixd) |
static int |
pixGetBackgroundGrayMap(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
PointerPointer ppixd) |
static int |
pixGetBackgroundGrayMapMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
lept.PIX ppixm) |
static int |
pixGetBackgroundGrayMapMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
PointerPointer ppixm) |
static int |
pixGetBackgroundRGBMap(lept.PIX pixs,
lept.PIX pixim,
lept.PIX pixg,
int sx,
int sy,
int thresh,
int mincount,
lept.PIX ppixmr,
lept.PIX ppixmg,
lept.PIX ppixmb) |
static int |
pixGetBackgroundRGBMap(lept.PIX pixs,
lept.PIX pixim,
lept.PIX pixg,
int sx,
int sy,
int thresh,
int mincount,
PointerPointer ppixmr,
PointerPointer ppixmg,
PointerPointer ppixmb) |
static int |
pixGetBackgroundRGBMapMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
lept.PIX ppixmr,
lept.PIX ppixmg,
lept.PIX ppixmb) |
static int |
pixGetBackgroundRGBMapMorph(lept.PIX pixs,
lept.PIX pixim,
int reduction,
int size,
PointerPointer ppixmr,
PointerPointer ppixmg,
PointerPointer ppixmb) |
static int |
pixGetBinnedColor(lept.PIX pixs,
lept.PIX pixg,
int factor,
int nbins,
lept.NUMA nalut,
int[] pcarray,
int debugflag) |
static int |
pixGetBinnedColor(lept.PIX pixs,
lept.PIX pixg,
int factor,
int nbins,
lept.NUMA nalut,
IntBuffer pcarray,
int debugflag) |
static int |
pixGetBinnedColor(lept.PIX pixs,
lept.PIX pixg,
int factor,
int nbins,
lept.NUMA nalut,
IntPointer pcarray,
int debugflag) |
static int |
pixGetBinnedColor(lept.PIX pixs,
lept.PIX pixg,
int factor,
int nbins,
lept.NUMA nalut,
PointerPointer pcarray,
int debugflag) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
int[] pminval,
int[] pmaxval,
int[] pcarray,
BytePointer fontdir) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
int[] pminval,
int[] pmaxval,
int[] pcarray,
String fontdir) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
IntBuffer pminval,
IntBuffer pmaxval,
IntBuffer pcarray,
BytePointer fontdir) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
IntBuffer pminval,
IntBuffer pmaxval,
IntBuffer pcarray,
String fontdir) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
IntPointer pminval,
IntPointer pmaxval,
IntPointer pcarray,
BytePointer fontdir) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
IntPointer pminval,
IntPointer pmaxval,
IntPointer pcarray,
String fontdir) |
static int |
pixGetBinnedComponentRange(lept.PIX pixs,
int nbins,
int factor,
int color,
IntPointer pminval,
IntPointer pmaxval,
PointerPointer pcarray,
BytePointer fontdir) |
static int |
pixGetBlackOrWhiteVal(lept.PIX pixs,
int op,
int[] pval) |
static int |
pixGetBlackOrWhiteVal(lept.PIX pixs,
int op,
IntBuffer pval) |
static int |
pixGetBlackOrWhiteVal(lept.PIX pixs,
int op,
IntPointer pval) |
static lept.CCBORD |
pixGetCCBorders(lept.PIX pixs,
lept.BOX box) |
static lept.NUMA |
pixGetCmapHistogram(lept.PIX pixs,
int factor) |
static lept.NUMA |
pixGetCmapHistogramInRect(lept.PIX pixs,
lept.BOX box,
int factor) |
static lept.NUMA |
pixGetCmapHistogramMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor) |
static int |
pixGetColorHistogram(lept.PIX pixs,
int factor,
lept.NUMA pnar,
lept.NUMA pnag,
lept.NUMA pnab) |
static int |
pixGetColorHistogram(lept.PIX pixs,
int factor,
PointerPointer pnar,
PointerPointer pnag,
PointerPointer pnab) |
static int |
pixGetColorHistogramMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
lept.NUMA pnar,
lept.NUMA pnag,
lept.NUMA pnab) |
static int |
pixGetColorHistogramMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
PointerPointer pnar,
PointerPointer pnag,
PointerPointer pnab) |
static lept.PIXCMAP |
pixGetColormap(lept.PIX pix) |
static int |
pixGetColumnStats(lept.PIX pixs,
int type,
int nbins,
int thresh,
float[] rowvect) |
static int |
pixGetColumnStats(lept.PIX pixs,
int type,
int nbins,
int thresh,
FloatBuffer rowvect) |
static int |
pixGetColumnStats(lept.PIX pixs,
int type,
int nbins,
int thresh,
FloatPointer rowvect) |
static int |
pixGetComponentRange(lept.PIX pixs,
int factor,
int color,
int[] pminval,
int[] pmaxval) |
static int |
pixGetComponentRange(lept.PIX pixs,
int factor,
int color,
IntBuffer pminval,
IntBuffer pmaxval) |
static int |
pixGetComponentRange(lept.PIX pixs,
int factor,
int color,
IntPointer pminval,
IntPointer pmaxval) |
static IntPointer |
pixGetData(lept.PIX pix) |
static int |
pixGetDepth(lept.PIX pix) |
static lept.NUMA |
pixGetDifferenceHistogram(lept.PIX pix1,
lept.PIX pix2,
int factor) |
static int |
pixGetDifferenceStats(lept.PIX pix1,
lept.PIX pix2,
int factor,
int mindiff,
float[] pfractdiff,
float[] pavediff,
int printstats) |
static int |
pixGetDifferenceStats(lept.PIX pix1,
lept.PIX pix2,
int factor,
int mindiff,
FloatBuffer pfractdiff,
FloatBuffer pavediff,
int printstats) |
static int |
pixGetDifferenceStats(lept.PIX pix1,
lept.PIX pix2,
int factor,
int mindiff,
FloatPointer pfractdiff,
FloatPointer pavediff,
int printstats) |
static int |
pixGetDimensions(lept.PIX pix,
int[] pw,
int[] ph,
int[] pd) |
static int |
pixGetDimensions(lept.PIX pix,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd) |
static int |
pixGetDimensions(lept.PIX pix,
IntPointer pw,
IntPointer ph,
IntPointer pd) |
static lept.NUMA |
pixGetEdgeProfile(lept.PIX pixs,
int side,
BytePointer debugfile) |
static lept.NUMA |
pixGetEdgeProfile(lept.PIX pixs,
int side,
String debugfile) |
static int |
pixGetExtremeValue(lept.PIX pixs,
int factor,
int type,
int[] prval,
int[] pgval,
int[] pbval,
int[] pgrayval) |
static int |
pixGetExtremeValue(lept.PIX pixs,
int factor,
int type,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval,
IntBuffer pgrayval) |
static int |
pixGetExtremeValue(lept.PIX pixs,
int factor,
int type,
IntPointer prval,
IntPointer pgval,
IntPointer pbval,
IntPointer pgrayval) |
static lept.NUMA |
pixGetGrayHistogram(lept.PIX pixs,
int factor) |
static lept.NUMA |
pixGetGrayHistogramInRect(lept.PIX pixs,
lept.BOX box,
int factor) |
static lept.NUMA |
pixGetGrayHistogramMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor) |
static int |
pixGetHeight(lept.PIX pix) |
static int |
pixGetHoleBorder(lept.CCBORD ccb,
lept.PIX pixs,
lept.BOX box,
int xs,
int ys) |
static int |
pixGetInputFormat(lept.PIX pix) |
static lept.PIX |
pixGetInvBackgroundMap(lept.PIX pixs,
int bgval,
int smoothx,
int smoothy) |
static int |
pixGetLastOffPixelInRun(lept.PIX pixs,
int x,
int y,
int direction,
int[] ploc) |
static int |
pixGetLastOffPixelInRun(lept.PIX pixs,
int x,
int y,
int direction,
IntBuffer ploc) |
static int |
pixGetLastOffPixelInRun(lept.PIX pixs,
int x,
int y,
int direction,
IntPointer ploc) |
static int |
pixGetLastOnPixelInRun(lept.PIX pixs,
int x,
int y,
int direction,
int[] ploc) |
static int |
pixGetLastOnPixelInRun(lept.PIX pixs,
int x,
int y,
int direction,
IntBuffer ploc) |
static int |
pixGetLastOnPixelInRun(lept.PIX pixs,
int x,
int y,
int direction,
IntPointer ploc) |
static Pointer |
pixGetLinePtrs(lept.PIX pix,
int[] psize) |
static Pointer |
pixGetLinePtrs(lept.PIX pix,
IntBuffer psize) |
static PointerPointer |
pixGetLinePtrs(lept.PIX pix,
IntPointer psize) |
static lept.NUMA |
pixGetLocalSkewAngles(lept.PIX pixs,
int nslices,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
float[] pa,
float[] pb) |
static lept.NUMA |
pixGetLocalSkewAngles(lept.PIX pixs,
int nslices,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
FloatBuffer pa,
FloatBuffer pb) |
static lept.NUMA |
pixGetLocalSkewAngles(lept.PIX pixs,
int nslices,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
FloatPointer pa,
FloatPointer pb) |
static int |
pixGetLocalSkewTransform(lept.PIX pixs,
int nslices,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
lept.PTA pptas,
lept.PTA pptad) |
static int |
pixGetLocalSkewTransform(lept.PIX pixs,
int nslices,
int redsweep,
int redsearch,
float sweeprange,
float sweepdelta,
float minbsdelta,
PointerPointer pptas,
PointerPointer pptad) |
static int |
pixGetMaxValueInRect(lept.PIX pixs,
lept.BOX box,
int[] pmaxval,
int[] pxmax,
int[] pymax) |
static int |
pixGetMaxValueInRect(lept.PIX pixs,
lept.BOX box,
IntBuffer pmaxval,
IntBuffer pxmax,
IntBuffer pymax) |
static int |
pixGetMaxValueInRect(lept.PIX pixs,
lept.BOX box,
IntPointer pmaxval,
IntPointer pxmax,
IntPointer pymax) |
static lept.NUMA |
pixGetMomentByColumn(lept.PIX pix,
int order) |
static int |
pixGetMostPopulatedColors(lept.PIX pixs,
int sigbits,
int factor,
int ncolors,
int[] parray,
lept.PIXCMAP pcmap) |
static int |
pixGetMostPopulatedColors(lept.PIX pixs,
int sigbits,
int factor,
int ncolors,
IntBuffer parray,
lept.PIXCMAP pcmap) |
static int |
pixGetMostPopulatedColors(lept.PIX pixs,
int sigbits,
int factor,
int ncolors,
IntPointer parray,
lept.PIXCMAP pcmap) |
static int |
pixGetMostPopulatedColors(lept.PIX pixs,
int sigbits,
int factor,
int ncolors,
PointerPointer parray,
PointerPointer pcmap) |
static int |
pixGetOuterBorder(lept.CCBORD ccb,
lept.PIX pixs,
lept.BOX box) |
static lept.PTA |
pixGetOuterBorderPta(lept.PIX pixs,
lept.BOX box) |
static lept.PTAA |
pixGetOuterBordersPtaa(lept.PIX pixs) |
static int |
pixGetPerceptualDiff(lept.PIX pixs1,
lept.PIX pixs2,
int sampling,
int dilation,
int mindiff,
float[] pfract,
lept.PIX ppixdiff1,
lept.PIX ppixdiff2) |
static int |
pixGetPerceptualDiff(lept.PIX pixs1,
lept.PIX pixs2,
int sampling,
int dilation,
int mindiff,
FloatBuffer pfract,
lept.PIX ppixdiff1,
lept.PIX ppixdiff2) |
static int |
pixGetPerceptualDiff(lept.PIX pixs1,
lept.PIX pixs2,
int sampling,
int dilation,
int mindiff,
FloatPointer pfract,
lept.PIX ppixdiff1,
lept.PIX ppixdiff2) |
static int |
pixGetPerceptualDiff(lept.PIX pixs1,
lept.PIX pixs2,
int sampling,
int dilation,
int mindiff,
FloatPointer pfract,
PointerPointer ppixdiff1,
PointerPointer ppixdiff2) |
static int |
pixGetPixel(lept.PIX pix,
int x,
int y,
int[] pval) |
static int |
pixGetPixel(lept.PIX pix,
int x,
int y,
IntBuffer pval) |
static int |
pixGetPixel(lept.PIX pix,
int x,
int y,
IntPointer pval) |
static int |
pixGetPSNR(lept.PIX pix1,
lept.PIX pix2,
int factor,
float[] ppsnr) |
static int |
pixGetPSNR(lept.PIX pix1,
lept.PIX pix2,
int factor,
FloatBuffer ppsnr) |
static int |
pixGetPSNR(lept.PIX pix1,
lept.PIX pix2,
int factor,
FloatPointer ppsnr) |
static int |
pixGetRandomPixel(lept.PIX pix,
int[] pval,
int[] px,
int[] py) |
static int |
pixGetRandomPixel(lept.PIX pix,
IntBuffer pval,
IntBuffer px,
IntBuffer py) |
static int |
pixGetRandomPixel(lept.PIX pix,
IntPointer pval,
IntPointer px,
IntPointer py) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
int[] pcarray,
int debugflag,
BytePointer fontdir) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
int[] pcarray,
int debugflag,
String fontdir) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
IntBuffer pcarray,
int debugflag,
BytePointer fontdir) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
IntBuffer pcarray,
int debugflag,
String fontdir) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
IntPointer pcarray,
int debugflag,
BytePointer fontdir) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
IntPointer pcarray,
int debugflag,
String fontdir) |
static int |
pixGetRankColorArray(lept.PIX pixs,
int nbins,
int type,
int factor,
PointerPointer pcarray,
int debugflag,
BytePointer fontdir) |
static int |
pixGetRankValue(lept.PIX pixs,
int factor,
float rank,
int[] pvalue) |
static int |
pixGetRankValue(lept.PIX pixs,
int factor,
float rank,
IntBuffer pvalue) |
static int |
pixGetRankValue(lept.PIX pixs,
int factor,
float rank,
IntPointer pvalue) |
static int |
pixGetRankValueMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
float[] pval,
lept.NUMA pna) |
static int |
pixGetRankValueMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
FloatBuffer pval,
lept.NUMA pna) |
static int |
pixGetRankValueMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
FloatPointer pval,
lept.NUMA pna) |
static int |
pixGetRankValueMasked(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
FloatPointer pval,
PointerPointer pna) |
static int |
pixGetRankValueMaskedRGB(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
float[] prval,
float[] pgval,
float[] pbval) |
static int |
pixGetRankValueMaskedRGB(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
FloatBuffer prval,
FloatBuffer pgval,
FloatBuffer pbval) |
static int |
pixGetRankValueMaskedRGB(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int factor,
float rank,
FloatPointer prval,
FloatPointer pgval,
FloatPointer pbval) |
static int |
pixGetRasterData(lept.PIX pixs,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
pixGetRasterData(lept.PIX pixs,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixGetRasterData(lept.PIX pixs,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
pixGetRasterData(lept.PIX pixs,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
pixGetRefcount(lept.PIX pix) |
static int |
pixGetRegionsBinary(lept.PIX pixs,
lept.PIX ppixhm,
lept.PIX ppixtm,
lept.PIX ppixtb,
int debug) |
static int |
pixGetRegionsBinary(lept.PIX pixs,
PointerPointer ppixhm,
PointerPointer ppixtm,
PointerPointer ppixtb,
int debug) |
static int |
pixGetResolution(lept.PIX pix,
int[] pxres,
int[] pyres) |
static int |
pixGetResolution(lept.PIX pix,
IntBuffer pxres,
IntBuffer pyres) |
static int |
pixGetResolution(lept.PIX pix,
IntPointer pxres,
IntPointer pyres) |
static lept.PIX |
pixGetRGBComponent(lept.PIX pixs,
int comp) |
static lept.PIX |
pixGetRGBComponentCmap(lept.PIX pixs,
int comp) |
static lept.NUMA |
pixGetRGBHistogram(lept.PIX pixs,
int sigbits,
int factor) |
static int |
pixGetRGBLine(lept.PIX pixs,
int row,
byte[] bufr,
byte[] bufg,
byte[] bufb) |
static int |
pixGetRGBLine(lept.PIX pixs,
int row,
ByteBuffer bufr,
ByteBuffer bufg,
ByteBuffer bufb) |
static int |
pixGetRGBLine(lept.PIX pixs,
int row,
BytePointer bufr,
BytePointer bufg,
BytePointer bufb) |
static int |
pixGetRGBPixel(lept.PIX pix,
int x,
int y,
int[] prval,
int[] pgval,
int[] pbval) |
static int |
pixGetRGBPixel(lept.PIX pix,
int x,
int y,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval) |
static int |
pixGetRGBPixel(lept.PIX pix,
int x,
int y,
IntPointer prval,
IntPointer pgval,
IntPointer pbval) |
static int |
pixGetRowStats(lept.PIX pixs,
int type,
int nbins,
int thresh,
float[] colvect) |
static int |
pixGetRowStats(lept.PIX pixs,
int type,
int nbins,
int thresh,
FloatBuffer colvect) |
static int |
pixGetRowStats(lept.PIX pixs,
int type,
int nbins,
int thresh,
FloatPointer colvect) |
static lept.NUMA |
pixGetRunCentersOnLine(lept.PIX pixs,
int x,
int y,
int minlength) |
static lept.NUMA |
pixGetRunsOnLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2) |
static int |
pixGetSpp(lept.PIX pix) |
static BytePointer |
pixGetText(lept.PIX pix) |
static int |
pixGetWidth(lept.PIX pix) |
static int |
pixGetWordBoxesInTextlines(lept.PIX pixs,
int reduction,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
lept.BOXA pboxad,
lept.NUMA pnai) |
static int |
pixGetWordBoxesInTextlines(lept.PIX pixs,
int reduction,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
PointerPointer pboxad,
PointerPointer pnai) |
static int |
pixGetWordsInTextlines(lept.PIX pixs,
int reduction,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
lept.BOXA pboxad,
lept.PIXA ppixad,
lept.NUMA pnai) |
static int |
pixGetWordsInTextlines(lept.PIX pixs,
int reduction,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
PointerPointer pboxad,
PointerPointer ppixad,
PointerPointer pnai) |
static int |
pixGetWpl(lept.PIX pix) |
static int |
pixGetXRes(lept.PIX pix) |
static int |
pixGetYRes(lept.PIX pix) |
static lept.PIX |
pixGlobalNormNoSatRGB(lept.PIX pixd,
lept.PIX pixs,
int rval,
int gval,
int bval,
int factor,
float rank) |
static lept.PIX |
pixGlobalNormRGB(lept.PIX pixd,
lept.PIX pixs,
int rval,
int gval,
int bval,
int mapval) |
static lept.PIX |
pixGrayMorphSequence(lept.PIX pixs,
BytePointer sequence,
int dispsep,
int dispy) |
static lept.PIX |
pixGrayMorphSequence(lept.PIX pixs,
String sequence,
int dispsep,
int dispy) |
static lept.PIX |
pixGrayQuantFromCmap(lept.PIX pixs,
lept.PIXCMAP cmap,
int mindepth) |
static lept.PIX |
pixGrayQuantFromHisto(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
float minfract,
int maxsize) |
static lept.PIX |
pixHalfEdgeByBandpass(lept.PIX pixs,
int sm1h,
int sm1v,
int sm2h,
int sm2v) |
static int |
pixHasHighlightRed(lept.PIX pixs,
int factor,
float fract,
float fthresh,
int[] phasred,
float[] pratio,
lept.PIX ppixdb) |
static int |
pixHasHighlightRed(lept.PIX pixs,
int factor,
float fract,
float fthresh,
IntBuffer phasred,
FloatBuffer pratio,
lept.PIX ppixdb) |
static int |
pixHasHighlightRed(lept.PIX pixs,
int factor,
float fract,
float fthresh,
IntPointer phasred,
FloatPointer pratio,
lept.PIX ppixdb) |
static int |
pixHasHighlightRed(lept.PIX pixs,
int factor,
float fract,
float fthresh,
IntPointer phasred,
FloatPointer pratio,
PointerPointer ppixdb) |
static int |
pixHaustest(lept.PIX pix1,
lept.PIX pix2,
lept.PIX pix3,
lept.PIX pix4,
float delx,
float dely,
int maxdiffw,
int maxdiffh) |
static lept.PIX |
pixHDome(lept.PIX pixs,
int height,
int connectivity) |
static lept.PIX |
pixHMT(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixHMTDwa_1(lept.PIX pixd,
lept.PIX pixs,
byte[] selname) |
static lept.PIX |
pixHMTDwa_1(lept.PIX pixd,
lept.PIX pixs,
ByteBuffer selname) |
static lept.PIX |
pixHMTDwa_1(lept.PIX pixd,
lept.PIX pixs,
BytePointer selname) |
static lept.PIX |
pixHolesByFilling(lept.PIX pixs,
int connectivity) |
static lept.PIX |
pixHShear(lept.PIX pixd,
lept.PIX pixs,
int yloc,
float radang,
int incolor) |
static lept.PIX |
pixHShearCenter(lept.PIX pixd,
lept.PIX pixs,
float radang,
int incolor) |
static lept.PIX |
pixHShearCorner(lept.PIX pixd,
lept.PIX pixs,
float radang,
int incolor) |
static int |
pixHShearIP(lept.PIX pixs,
int yloc,
float radang,
int incolor) |
static lept.PIX |
pixHShearLI(lept.PIX pixs,
int yloc,
float radang,
int incolor) |
static int |
pixHtmlViewer(BytePointer dirin,
BytePointer dirout,
BytePointer rootname,
int thumbwidth,
int viewwidth,
int copyorig) |
static int |
pixHtmlViewer(String dirin,
String dirout,
String rootname,
int thumbwidth,
int viewwidth,
int copyorig) |
static lept.PIX |
pixInitAccumulate(int w,
int h,
int offset) |
static lept.PIX |
pixIntersectionOfMorphOps(lept.PIX pixs,
lept.SELA sela,
int type) |
static lept.PIX |
pixInvert(lept.PIX pixd,
lept.PIX pixs) |
static int |
pixItalicWords(lept.PIX pixs,
lept.BOXA boxaw,
lept.PIX pixw,
lept.BOXA pboxa,
int debugflag) |
static int |
pixItalicWords(lept.PIX pixs,
lept.BOXA boxaw,
lept.PIX pixw,
PointerPointer pboxa,
int debugflag) |
static lept.PIX |
pixLinearMapToTargetColor(lept.PIX pixd,
lept.PIX pixs,
int srcval,
int dstval) |
static lept.PIX |
pixLinearTRCTiled(lept.PIX pixd,
lept.PIX pixs,
int sx,
int sy,
lept.PIX pixmin,
lept.PIX pixmax) |
static int |
pixLocalExtrema(lept.PIX pixs,
int maxmin,
int minmax,
lept.PIX ppixmin,
lept.PIX ppixmax) |
static int |
pixLocalExtrema(lept.PIX pixs,
int maxmin,
int minmax,
PointerPointer ppixmin,
PointerPointer ppixmax) |
static lept.BOXA |
pixLocateBarcodes(lept.PIX pixs,
int thresh,
lept.PIX ppixb,
lept.PIX ppixm) |
static lept.BOXA |
pixLocateBarcodes(lept.PIX pixs,
int thresh,
PointerPointer ppixb,
PointerPointer ppixm) |
static lept.PIX |
pixLocToColorTransform(lept.PIX pixs) |
static lept.PIX |
pixMakeHistoHS(lept.PIX pixs,
int factor,
lept.NUMA pnahue,
lept.NUMA pnasat) |
static lept.PIX |
pixMakeHistoHS(lept.PIX pixs,
int factor,
PointerPointer pnahue,
PointerPointer pnasat) |
static lept.PIX |
pixMakeHistoHV(lept.PIX pixs,
int factor,
lept.NUMA pnahue,
lept.NUMA pnaval) |
static lept.PIX |
pixMakeHistoHV(lept.PIX pixs,
int factor,
PointerPointer pnahue,
PointerPointer pnaval) |
static lept.PIX |
pixMakeHistoSV(lept.PIX pixs,
int factor,
lept.NUMA pnasat,
lept.NUMA pnaval) |
static lept.PIX |
pixMakeHistoSV(lept.PIX pixs,
int factor,
PointerPointer pnasat,
PointerPointer pnaval) |
static lept.PIX |
pixMakeMaskFromLUT(lept.PIX pixs,
int[] tab) |
static lept.PIX |
pixMakeMaskFromLUT(lept.PIX pixs,
IntBuffer tab) |
static lept.PIX |
pixMakeMaskFromLUT(lept.PIX pixs,
IntPointer tab) |
static lept.PIX |
pixMakeRangeMaskHS(lept.PIX pixs,
int huecenter,
int huehw,
int satcenter,
int sathw,
int regionflag) |
static lept.PIX |
pixMakeRangeMaskHV(lept.PIX pixs,
int huecenter,
int huehw,
int valcenter,
int valhw,
int regionflag) |
static lept.PIX |
pixMakeRangeMaskSV(lept.PIX pixs,
int satcenter,
int sathw,
int valcenter,
int valhw,
int regionflag) |
static lept.PIX |
pixMaskBoxa(lept.PIX pixd,
lept.PIX pixs,
lept.BOXA boxa,
int op) |
static lept.PIX |
pixMaskConnComp(lept.PIX pixs,
int connectivity,
lept.BOXA pboxa) |
static lept.PIX |
pixMaskConnComp(lept.PIX pixs,
int connectivity,
PointerPointer pboxa) |
static lept.PIX |
pixMaskedThreshOnBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int smoothx,
int smoothy,
float scorefract,
int[] pthresh) |
static lept.PIX |
pixMaskedThreshOnBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int smoothx,
int smoothy,
float scorefract,
IntBuffer pthresh) |
static lept.PIX |
pixMaskedThreshOnBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int smoothx,
int smoothy,
float scorefract,
IntPointer pthresh) |
static lept.PIX |
pixMaskOverColorPixels(lept.PIX pixs,
int threshdiff,
int mindist) |
static lept.PIX |
pixMaxDynamicRange(lept.PIX pixs,
int type) |
static int |
pixMeanInRectangle(lept.PIX pixs,
lept.BOX box,
lept.PIX pixma,
float[] pval) |
static int |
pixMeanInRectangle(lept.PIX pixs,
lept.BOX box,
lept.PIX pixma,
FloatBuffer pval) |
static int |
pixMeanInRectangle(lept.PIX pixs,
lept.BOX box,
lept.PIX pixma,
FloatPointer pval) |
static lept.DPIX |
pixMeanSquareAccum(lept.PIX pixs) |
static int |
pixMeasureEdgeSmoothness(lept.PIX pixs,
int side,
int minjump,
int minreversal,
float[] pjpl,
float[] pjspl,
float[] prpl,
BytePointer debugfile) |
static int |
pixMeasureEdgeSmoothness(lept.PIX pixs,
int side,
int minjump,
int minreversal,
float[] pjpl,
float[] pjspl,
float[] prpl,
String debugfile) |
static int |
pixMeasureEdgeSmoothness(lept.PIX pixs,
int side,
int minjump,
int minreversal,
FloatBuffer pjpl,
FloatBuffer pjspl,
FloatBuffer prpl,
BytePointer debugfile) |
static int |
pixMeasureEdgeSmoothness(lept.PIX pixs,
int side,
int minjump,
int minreversal,
FloatBuffer pjpl,
FloatBuffer pjspl,
FloatBuffer prpl,
String debugfile) |
static int |
pixMeasureEdgeSmoothness(lept.PIX pixs,
int side,
int minjump,
int minreversal,
FloatPointer pjpl,
FloatPointer pjspl,
FloatPointer prpl,
BytePointer debugfile) |
static int |
pixMeasureEdgeSmoothness(lept.PIX pixs,
int side,
int minjump,
int minreversal,
FloatPointer pjpl,
FloatPointer pjspl,
FloatPointer prpl,
String debugfile) |
static int |
pixMeasureSaturation(lept.PIX pixs,
int factor,
float[] psat) |
static int |
pixMeasureSaturation(lept.PIX pixs,
int factor,
FloatBuffer psat) |
static int |
pixMeasureSaturation(lept.PIX pixs,
int factor,
FloatPointer psat) |
static IntPointer |
pixMedianCutHisto(lept.PIX pixs,
int sigbits,
int subsample) |
static lept.PIX |
pixMedianCutQuant(lept.PIX pixs,
int ditherflag) |
static lept.PIX |
pixMedianCutQuantGeneral(lept.PIX pixs,
int ditherflag,
int outdepth,
int maxcolors,
int sigbits,
int maxsub,
int checkbw) |
static lept.PIX |
pixMedianCutQuantMixed(lept.PIX pixs,
int ncolor,
int ngray,
int darkthresh,
int lightthresh,
int diffthresh) |
static lept.PIX |
pixMedianFilter(lept.PIX pixs,
int wf,
int hf) |
static int |
pixMinMaxNearLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2,
int dist,
int direction,
lept.NUMA pnamin,
lept.NUMA pnamax,
float[] pminave,
float[] pmaxave) |
static int |
pixMinMaxNearLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2,
int dist,
int direction,
lept.NUMA pnamin,
lept.NUMA pnamax,
FloatBuffer pminave,
FloatBuffer pmaxave) |
static int |
pixMinMaxNearLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2,
int dist,
int direction,
lept.NUMA pnamin,
lept.NUMA pnamax,
FloatPointer pminave,
FloatPointer pmaxave) |
static int |
pixMinMaxNearLine(lept.PIX pixs,
int x1,
int y1,
int x2,
int y2,
int dist,
int direction,
PointerPointer pnamin,
PointerPointer pnamax,
FloatPointer pminave,
FloatPointer pmaxave) |
static int |
pixMinMaxTiles(lept.PIX pixs,
int sx,
int sy,
int mindiff,
int smoothx,
int smoothy,
lept.PIX ppixmin,
lept.PIX ppixmax) |
static int |
pixMinMaxTiles(lept.PIX pixs,
int sx,
int sy,
int mindiff,
int smoothx,
int smoothy,
PointerPointer ppixmin,
PointerPointer ppixmax) |
static lept.PIX |
pixMinOrMax(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2,
int type) |
static int |
pixMirrorDetect(lept.PIX pixs,
float[] pconf,
int mincount,
int debug) |
static int |
pixMirrorDetect(lept.PIX pixs,
FloatBuffer pconf,
int mincount,
int debug) |
static int |
pixMirrorDetect(lept.PIX pixs,
FloatPointer pconf,
int mincount,
int debug) |
static int |
pixMirrorDetectDwa(lept.PIX pixs,
float[] pconf,
int mincount,
int debug) |
static int |
pixMirrorDetectDwa(lept.PIX pixs,
FloatBuffer pconf,
int mincount,
int debug) |
static int |
pixMirrorDetectDwa(lept.PIX pixs,
FloatPointer pconf,
int mincount,
int debug) |
static lept.PIX |
pixMirroredTiling(lept.PIX pixs,
int w,
int h) |
static lept.PIX |
pixModifyBrightness(lept.PIX pixd,
lept.PIX pixs,
float fract) |
static lept.PIX |
pixModifyHue(lept.PIX pixd,
lept.PIX pixs,
float fract) |
static lept.PIX |
pixModifySaturation(lept.PIX pixd,
lept.PIX pixs,
float fract) |
static lept.PIX |
pixMorphCompSequence(lept.PIX pixs,
BytePointer sequence,
int dispsep) |
static lept.PIX |
pixMorphCompSequence(lept.PIX pixs,
String sequence,
int dispsep) |
static lept.PIX |
pixMorphCompSequenceDwa(lept.PIX pixs,
BytePointer sequence,
int dispsep) |
static lept.PIX |
pixMorphCompSequenceDwa(lept.PIX pixs,
String sequence,
int dispsep) |
static lept.PIX |
pixMorphDwa_1(lept.PIX pixd,
lept.PIX pixs,
int operation,
byte[] selname) |
static lept.PIX |
pixMorphDwa_1(lept.PIX pixd,
lept.PIX pixs,
int operation,
ByteBuffer selname) |
static lept.PIX |
pixMorphDwa_1(lept.PIX pixd,
lept.PIX pixs,
int operation,
BytePointer selname) |
static lept.PIX |
pixMorphDwa_2(lept.PIX pixd,
lept.PIX pixs,
int operation,
byte[] selname) |
static lept.PIX |
pixMorphDwa_2(lept.PIX pixd,
lept.PIX pixs,
int operation,
ByteBuffer selname) |
static lept.PIX |
pixMorphDwa_2(lept.PIX pixd,
lept.PIX pixs,
int operation,
BytePointer selname) |
static lept.PIX |
pixMorphGradient(lept.PIX pixs,
int hsize,
int vsize,
int smoothing) |
static lept.PIX |
pixMorphSequence(lept.PIX pixs,
BytePointer sequence,
int dispsep) |
static lept.PIX |
pixMorphSequence(lept.PIX pixs,
String sequence,
int dispsep) |
static lept.PIX |
pixMorphSequenceByComponent(lept.PIX pixs,
BytePointer sequence,
int connectivity,
int minw,
int minh,
lept.BOXA pboxa) |
static lept.PIX |
pixMorphSequenceByComponent(lept.PIX pixs,
BytePointer sequence,
int connectivity,
int minw,
int minh,
PointerPointer pboxa) |
static lept.PIX |
pixMorphSequenceByComponent(lept.PIX pixs,
String sequence,
int connectivity,
int minw,
int minh,
lept.BOXA pboxa) |
static lept.PIX |
pixMorphSequenceByRegion(lept.PIX pixs,
lept.PIX pixm,
BytePointer sequence,
int connectivity,
int minw,
int minh,
lept.BOXA pboxa) |
static lept.PIX |
pixMorphSequenceByRegion(lept.PIX pixs,
lept.PIX pixm,
BytePointer sequence,
int connectivity,
int minw,
int minh,
PointerPointer pboxa) |
static lept.PIX |
pixMorphSequenceByRegion(lept.PIX pixs,
lept.PIX pixm,
String sequence,
int connectivity,
int minw,
int minh,
lept.BOXA pboxa) |
static lept.PIX |
pixMorphSequenceDwa(lept.PIX pixs,
BytePointer sequence,
int dispsep) |
static lept.PIX |
pixMorphSequenceDwa(lept.PIX pixs,
String sequence,
int dispsep) |
static lept.PIX |
pixMorphSequenceMasked(lept.PIX pixs,
lept.PIX pixm,
BytePointer sequence,
int dispsep) |
static lept.PIX |
pixMorphSequenceMasked(lept.PIX pixs,
lept.PIX pixm,
String sequence,
int dispsep) |
static int |
pixMultConstAccumulate(lept.PIX pixs,
float factor,
int offset) |
static lept.PIX |
pixMultConstantColor(lept.PIX pixs,
float rfact,
float gfact,
float bfact) |
static int |
pixMultConstantGray(lept.PIX pixs,
float val) |
static lept.PIX |
pixMultiplyByColor(lept.PIX pixd,
lept.PIX pixs,
lept.BOX box,
int color) |
static lept.PIX |
pixMultMatrixColor(lept.PIX pixs,
lept.L_KERNEL kel) |
static int |
pixNumberOccupiedOctcubes(lept.PIX pix,
int level,
int mincount,
float minfract,
int[] pncolors) |
static int |
pixNumberOccupiedOctcubes(lept.PIX pix,
int level,
int mincount,
float minfract,
IntBuffer pncolors) |
static int |
pixNumberOccupiedOctcubes(lept.PIX pix,
int level,
int mincount,
float minfract,
IntPointer pncolors) |
static int |
pixNumColors(lept.PIX pixs,
int factor,
int[] pncolors) |
static int |
pixNumColors(lept.PIX pixs,
int factor,
IntBuffer pncolors) |
static int |
pixNumColors(lept.PIX pixs,
int factor,
IntPointer pncolors) |
static int |
pixNumSignificantGrayColors(lept.PIX pixs,
int darkthresh,
int lightthresh,
float minfract,
int factor,
int[] pncolors) |
static int |
pixNumSignificantGrayColors(lept.PIX pixs,
int darkthresh,
int lightthresh,
float minfract,
int factor,
IntBuffer pncolors) |
static int |
pixNumSignificantGrayColors(lept.PIX pixs,
int darkthresh,
int lightthresh,
float minfract,
int factor,
IntPointer pncolors) |
static lept.NUMA |
pixOctcubeHistogram(lept.PIX pixs,
int level,
int[] pncolors) |
static lept.NUMA |
pixOctcubeHistogram(lept.PIX pixs,
int level,
IntBuffer pncolors) |
static lept.NUMA |
pixOctcubeHistogram(lept.PIX pixs,
int level,
IntPointer pncolors) |
static lept.PIX |
pixOctcubeQuantFromCmap(lept.PIX pixs,
lept.PIXCMAP cmap,
int mindepth,
int level,
int metric) |
static lept.PIX |
pixOctcubeQuantFromCmapLUT(lept.PIX pixs,
lept.PIXCMAP cmap,
int mindepth,
int[] cmaptab,
int[] rtab,
int[] gtab,
int[] btab) |
static lept.PIX |
pixOctcubeQuantFromCmapLUT(lept.PIX pixs,
lept.PIXCMAP cmap,
int mindepth,
IntBuffer cmaptab,
IntBuffer rtab,
IntBuffer gtab,
IntBuffer btab) |
static lept.PIX |
pixOctcubeQuantFromCmapLUT(lept.PIX pixs,
lept.PIXCMAP cmap,
int mindepth,
IntPointer cmaptab,
IntPointer rtab,
IntPointer gtab,
IntPointer btab) |
static lept.PIX |
pixOctcubeQuantMixedWithGray(lept.PIX pixs,
int depth,
int graylevels,
int delta) |
static lept.PIX |
pixOctreeColorQuant(lept.PIX pixs,
int colors,
int ditherflag) |
static lept.PIX |
pixOctreeColorQuantGeneral(lept.PIX pixs,
int colors,
int ditherflag,
float validthresh,
float colorthresh) |
static lept.PIX |
pixOctreeQuantByPopulation(lept.PIX pixs,
int level,
int ditherflag) |
static lept.PIX |
pixOctreeQuantNumColors(lept.PIX pixs,
int maxcolors,
int subsample) |
static lept.PIX |
pixOpen(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixOpenBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOpenBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOpenCompBrick(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOpenCompBrickDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOpenCompBrickExtendDwa(lept.PIX pixd,
lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOpenGeneralized(lept.PIX pixd,
lept.PIX pixs,
lept.SEL sel) |
static lept.PIX |
pixOpenGray(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOpenGray3(lept.PIX pixs,
int hsize,
int vsize) |
static lept.PIX |
pixOr(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2) |
static int |
pixOrientDetect(lept.PIX pixs,
float[] pupconf,
float[] pleftconf,
int mincount,
int debug) |
static int |
pixOrientDetect(lept.PIX pixs,
FloatBuffer pupconf,
FloatBuffer pleftconf,
int mincount,
int debug) |
static int |
pixOrientDetect(lept.PIX pixs,
FloatPointer pupconf,
FloatPointer pleftconf,
int mincount,
int debug) |
static int |
pixOrientDetectDwa(lept.PIX pixs,
float[] pupconf,
float[] pleftconf,
int mincount,
int debug) |
static int |
pixOrientDetectDwa(lept.PIX pixs,
FloatBuffer pupconf,
FloatBuffer pleftconf,
int mincount,
int debug) |
static int |
pixOrientDetectDwa(lept.PIX pixs,
FloatPointer pupconf,
FloatPointer pleftconf,
int mincount,
int debug) |
static int |
pixOtsuAdaptiveThreshold(lept.PIX pixs,
int sx,
int sy,
int smoothx,
int smoothy,
float scorefract,
lept.PIX ppixth,
lept.PIX ppixd) |
static int |
pixOtsuAdaptiveThreshold(lept.PIX pixs,
int sx,
int sy,
int smoothx,
int smoothy,
float scorefract,
PointerPointer ppixth,
PointerPointer ppixd) |
static lept.PIX |
pixOtsuThreshOnBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
float scorefract,
int[] pthresh) |
static lept.PIX |
pixOtsuThreshOnBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
float scorefract,
IntBuffer pthresh) |
static lept.PIX |
pixOtsuThreshOnBackgroundNorm(lept.PIX pixs,
lept.PIX pixim,
int sx,
int sy,
int thresh,
int mincount,
int bgval,
int smoothx,
int smoothy,
float scorefract,
IntPointer pthresh) |
static lept.PIX |
pixPaintBoxa(lept.PIX pixs,
lept.BOXA boxa,
int val) |
static lept.PIX |
pixPaintBoxaRandom(lept.PIX pixs,
lept.BOXA boxa) |
static int |
pixPaintSelfThroughMask(lept.PIX pixd,
lept.PIX pixm,
int x,
int y,
int tilesize,
int searchdir) |
static int |
pixPaintThroughMask(lept.PIX pixd,
lept.PIX pixm,
int x,
int y,
int val) |
static int |
pixPlotAlongPta(lept.PIX pixs,
lept.PTA pta,
int outformat,
BytePointer title) |
static int |
pixPlotAlongPta(lept.PIX pixs,
lept.PTA pta,
int outformat,
String title) |
static int |
pixPrintStreamInfo(Pointer fp,
lept.PIX pix,
BytePointer text) |
static int |
pixPrintStreamInfo(Pointer fp,
lept.PIX pix,
String text) |
static lept.SARRAY |
pixProcessBarcodes(lept.PIX pixs,
int format,
int method,
lept.SARRAY psaw,
int debugflag) |
static lept.SARRAY |
pixProcessBarcodes(lept.PIX pixs,
int format,
int method,
PointerPointer psaw,
int debugflag) |
static lept.PIX |
pixProjective(lept.PIX pixs,
float[] vc,
int incolor) |
static lept.PIX |
pixProjective(lept.PIX pixs,
FloatBuffer vc,
int incolor) |
static lept.PIX |
pixProjective(lept.PIX pixs,
FloatPointer vc,
int incolor) |
static lept.PIX |
pixProjectiveColor(lept.PIX pixs,
float[] vc,
int colorval) |
static lept.PIX |
pixProjectiveColor(lept.PIX pixs,
FloatBuffer vc,
int colorval) |
static lept.PIX |
pixProjectiveColor(lept.PIX pixs,
FloatPointer vc,
int colorval) |
static lept.PIX |
pixProjectiveGray(lept.PIX pixs,
float[] vc,
byte grayval) |
static lept.PIX |
pixProjectiveGray(lept.PIX pixs,
FloatBuffer vc,
byte grayval) |
static lept.PIX |
pixProjectiveGray(lept.PIX pixs,
FloatPointer vc,
byte grayval) |
static lept.PIX |
pixProjectivePta(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int incolor) |
static lept.PIX |
pixProjectivePtaColor(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int colorval) |
static lept.PIX |
pixProjectivePtaGray(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
byte grayval) |
static lept.PIX |
pixProjectivePtaWithAlpha(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
lept.PIX pixg,
float fract,
int border) |
static lept.PIX |
pixProjectiveSampled(lept.PIX pixs,
float[] vc,
int incolor) |
static lept.PIX |
pixProjectiveSampled(lept.PIX pixs,
FloatBuffer vc,
int incolor) |
static lept.PIX |
pixProjectiveSampled(lept.PIX pixs,
FloatPointer vc,
int incolor) |
static lept.PIX |
pixProjectiveSampledPta(lept.PIX pixs,
lept.PTA ptad,
lept.PTA ptas,
int incolor) |
static lept.PIX |
pixQuadraticVShear(lept.PIX pixs,
int dir,
int vmaxt,
int vmaxb,
int operation,
int incolor) |
static lept.PIX |
pixQuadraticVShearLI(lept.PIX pixs,
int dir,
int vmaxt,
int vmaxb,
int incolor) |
static lept.PIX |
pixQuadraticVShearSampled(lept.PIX pixs,
int dir,
int vmaxt,
int vmaxb,
int incolor) |
static int |
pixQuadtreeMean(lept.PIX pixs,
int nlevels,
lept.PIX pix_ma,
lept.FPIXA pfpixa) |
static int |
pixQuadtreeMean(lept.PIX pixs,
int nlevels,
lept.PIX pix_ma,
PointerPointer pfpixa) |
static int |
pixQuadtreeVariance(lept.PIX pixs,
int nlevels,
lept.PIX pix_ma,
lept.DPIX dpix_msa,
lept.FPIXA pfpixa_v,
lept.FPIXA pfpixa_rv) |
static int |
pixQuadtreeVariance(lept.PIX pixs,
int nlevels,
lept.PIX pix_ma,
lept.DPIX dpix_msa,
PointerPointer pfpixa_v,
PointerPointer pfpixa_rv) |
static lept.PIX |
pixQuantFromCmap(lept.PIX pixs,
lept.PIXCMAP cmap,
int mindepth,
int level,
int metric) |
static int |
pixQuantizeIfFewColors(lept.PIX pixs,
int maxcolors,
int mingraycolors,
int octlevel,
lept.PIX ppixd) |
static int |
pixQuantizeIfFewColors(lept.PIX pixs,
int maxcolors,
int mingraycolors,
int octlevel,
PointerPointer ppixd) |
static lept.PIX |
pixRandomHarmonicWarp(lept.PIX pixs,
float xmag,
float ymag,
float xfreq,
float yfreq,
int nx,
int ny,
int seed,
int grayval) |
static lept.PIX |
pixRankBinByStrip(lept.PIX pixs,
int direction,
int size,
int nbins,
int type) |
static lept.PIX |
pixRankColumnTransform(lept.PIX pixs) |
static lept.PIX |
pixRankFilter(lept.PIX pixs,
int wf,
int hf,
float rank) |
static lept.PIX |
pixRankFilterGray(lept.PIX pixs,
int wf,
int hf,
float rank) |
static lept.PIX |
pixRankFilterRGB(lept.PIX pixs,
int wf,
int hf,
float rank) |
static lept.PIX |
pixRankFilterWithScaling(lept.PIX pixs,
int wf,
int hf,
float rank,
float scalefactor) |
static int |
pixRankHaustest(lept.PIX pix1,
lept.PIX pix2,
lept.PIX pix3,
lept.PIX pix4,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
int area1,
int area3,
float rank,
int[] tab8) |
static int |
pixRankHaustest(lept.PIX pix1,
lept.PIX pix2,
lept.PIX pix3,
lept.PIX pix4,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
int area1,
int area3,
float rank,
IntBuffer tab8) |
static int |
pixRankHaustest(lept.PIX pix1,
lept.PIX pix2,
lept.PIX pix3,
lept.PIX pix4,
float delx,
float dely,
int maxdiffw,
int maxdiffh,
int area1,
int area3,
float rank,
IntPointer tab8) |
static lept.PIX |
pixRankRowTransform(lept.PIX pixs) |
static int |
pixRasterop(lept.PIX pixd,
int dx,
int dy,
int dw,
int dh,
int op,
lept.PIX pixs,
int sx,
int sy) |
static int |
pixRasteropFullImage(lept.PIX pixd,
lept.PIX pixs,
int op) |
static int |
pixRasteropHip(lept.PIX pixd,
int by,
int bh,
int hshift,
int incolor) |
static int |
pixRasteropIP(lept.PIX pixd,
int hshift,
int vshift,
int incolor) |
static int |
pixRasteropVip(lept.PIX pixd,
int bx,
int bw,
int vshift,
int incolor) |
static lept.PIX |
pixRead(BytePointer filename) |
static lept.PIX |
pixRead(String filename) |
static lept.SARRAY |
pixReadBarcodes(lept.PIXA pixa,
int format,
int method,
lept.SARRAY psaw,
int debugflag) |
static lept.SARRAY |
pixReadBarcodes(lept.PIXA pixa,
int format,
int method,
PointerPointer psaw,
int debugflag) |
static lept.NUMA |
pixReadBarcodeWidths(lept.PIX pixs,
int method,
int debugflag) |
static int |
pixReadHeader(BytePointer filename,
int[] pformat,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
pixReadHeader(BytePointer filename,
IntBuffer pformat,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
pixReadHeader(BytePointer filename,
IntPointer pformat,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
pixReadHeader(String filename,
int[] pformat,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
pixReadHeader(String filename,
IntBuffer pformat,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
pixReadHeader(String filename,
IntPointer pformat,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
pixReadHeaderMem(byte[] data,
long size,
int[] pformat,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
pixReadHeaderMem(ByteBuffer data,
long size,
IntBuffer pformat,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
pixReadHeaderMem(BytePointer data,
long size,
IntPointer pformat,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static lept.PIX |
pixReadIndexed(lept.SARRAY sa,
int index) |
static lept.PIX |
pixReadJp2k(BytePointer filename,
int reduction,
lept.BOX box,
int hint) |
static lept.PIX |
pixReadJp2k(String filename,
int reduction,
lept.BOX box,
int hint) |
static lept.PIX |
pixReadJpeg(BytePointer filename,
int cmflag,
int reduction,
int[] pnwarn,
int hint) |
static lept.PIX |
pixReadJpeg(BytePointer filename,
int cmflag,
int reduction,
IntBuffer pnwarn,
int hint) |
static lept.PIX |
pixReadJpeg(BytePointer filename,
int cmflag,
int reduction,
IntPointer pnwarn,
int hint) |
static lept.PIX |
pixReadJpeg(String filename,
int cmflag,
int reduction,
int[] pnwarn,
int hint) |
static lept.PIX |
pixReadJpeg(String filename,
int cmflag,
int reduction,
IntBuffer pnwarn,
int hint) |
static lept.PIX |
pixReadJpeg(String filename,
int cmflag,
int reduction,
IntPointer pnwarn,
int hint) |
static lept.PIX |
pixReadMem(byte[] data,
long size) |
static lept.PIX |
pixReadMem(ByteBuffer data,
long size) |
static lept.PIX |
pixReadMem(BytePointer data,
long size) |
static lept.PIX |
pixReadMemBmp(byte[] cdata,
long size) |
static lept.PIX |
pixReadMemBmp(ByteBuffer cdata,
long size) |
static lept.PIX |
pixReadMemBmp(BytePointer cdata,
long size) |
static lept.PIX |
pixReadMemGif(byte[] cdata,
long size) |
static lept.PIX |
pixReadMemGif(ByteBuffer cdata,
long size) |
static lept.PIX |
pixReadMemGif(BytePointer cdata,
long size) |
static lept.PIX |
pixReadMemJp2k(byte[] data,
long size,
int reduction,
lept.BOX box,
int hint) |
static lept.PIX |
pixReadMemJp2k(ByteBuffer data,
long size,
int reduction,
lept.BOX box,
int hint) |
static lept.PIX |
pixReadMemJp2k(BytePointer data,
long size,
int reduction,
lept.BOX box,
int hint) |
static lept.PIX |
pixReadMemJpeg(byte[] data,
long size,
int cmflag,
int reduction,
int[] pnwarn,
int hint) |
static lept.PIX |
pixReadMemJpeg(ByteBuffer data,
long size,
int cmflag,
int reduction,
IntBuffer pnwarn,
int hint) |
static lept.PIX |
pixReadMemJpeg(BytePointer data,
long size,
int cmflag,
int reduction,
IntPointer pnwarn,
int hint) |
static lept.PIX |
pixReadMemPng(byte[] cdata,
long size) |
static lept.PIX |
pixReadMemPng(ByteBuffer cdata,
long size) |
static lept.PIX |
pixReadMemPng(BytePointer cdata,
long size) |
static lept.PIX |
pixReadMemPnm(byte[] cdata,
long size) |
static lept.PIX |
pixReadMemPnm(ByteBuffer cdata,
long size) |
static lept.PIX |
pixReadMemPnm(BytePointer cdata,
long size) |
static lept.PIX |
pixReadMemSpix(byte[] data,
long size) |
static lept.PIX |
pixReadMemSpix(ByteBuffer data,
long size) |
static lept.PIX |
pixReadMemSpix(BytePointer data,
long size) |
static lept.PIX |
pixReadMemTiff(byte[] cdata,
long size,
int n) |
static lept.PIX |
pixReadMemTiff(ByteBuffer cdata,
long size,
int n) |
static lept.PIX |
pixReadMemTiff(BytePointer cdata,
long size,
int n) |
static lept.PIX |
pixReadMemWebP(byte[] filedata,
long filesize) |
static lept.PIX |
pixReadMemWebP(ByteBuffer filedata,
long filesize) |
static lept.PIX |
pixReadMemWebP(BytePointer filedata,
long filesize) |
static lept.PIX |
pixReadStream(Pointer fp,
int hint) |
static lept.PIX |
pixReadStreamBmp(Pointer fp) |
static lept.PIX |
pixReadStreamGif(Pointer fp) |
static lept.PIX |
pixReadStreamJp2k(Pointer fp,
int reduction,
lept.BOX box,
int hint) |
static lept.PIX |
pixReadStreamJpeg(Pointer fp,
int cmflag,
int reduction,
int[] pnwarn,
int hint) |
static lept.PIX |
pixReadStreamJpeg(Pointer fp,
int cmflag,
int reduction,
IntBuffer pnwarn,
int hint) |
static lept.PIX |
pixReadStreamJpeg(Pointer fp,
int cmflag,
int reduction,
IntPointer pnwarn,
int hint) |
static lept.PIX |
pixReadStreamPng(Pointer fp) |
static lept.PIX |
pixReadStreamPnm(Pointer fp) |
static lept.PIX |
pixReadStreamSpix(Pointer fp) |
static lept.PIX |
pixReadStreamTiff(Pointer fp,
int n) |
static lept.PIX |
pixReadStreamWebP(Pointer fp) |
static lept.PIX |
pixReadTiff(BytePointer filename,
int n) |
static lept.PIX |
pixReadTiff(String filename,
int n) |
static lept.PIX |
pixReadWithHint(BytePointer filename,
int hint) |
static lept.PIX |
pixReadWithHint(String filename,
int hint) |
static lept.PIX |
pixReduceBinary2(lept.PIX pixs,
byte[] intab) |
static lept.PIX |
pixReduceBinary2(lept.PIX pixs,
ByteBuffer intab) |
static lept.PIX |
pixReduceBinary2(lept.PIX pixs,
BytePointer intab) |
static lept.PIX |
pixReduceRankBinary2(lept.PIX pixs,
int level,
byte[] intab) |
static lept.PIX |
pixReduceRankBinary2(lept.PIX pixs,
int level,
ByteBuffer intab) |
static lept.PIX |
pixReduceRankBinary2(lept.PIX pixs,
int level,
BytePointer intab) |
static lept.PIX |
pixReduceRankBinaryCascade(lept.PIX pixs,
int level1,
int level2,
int level3,
int level4) |
static lept.PIX |
pixRemoveAlpha(lept.PIX pixs) |
static lept.PIX |
pixRemoveBorder(lept.PIX pixs,
int npix) |
static lept.PIX |
pixRemoveBorderConnComps(lept.PIX pixs,
int connectivity) |
static lept.PIX |
pixRemoveBorderGeneral(lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static lept.PIX |
pixRemoveBorderToSize(lept.PIX pixs,
int wd,
int hd) |
static lept.PIX |
pixRemoveColormap(lept.PIX pixs,
int type) |
static lept.PIX |
pixRemoveColormapGeneral(lept.PIX pixs,
int type,
int ifnocmap) |
static int |
pixRemoveMatchedPattern(lept.PIX pixs,
lept.PIX pixp,
lept.PIX pixe,
int x0,
int y0,
int dsize) |
static lept.PIX |
pixRemoveSeededComponents(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int connectivity,
int bordersize) |
static int |
pixRemoveUnusedColors(lept.PIX pixs) |
static int |
pixRemoveWithIndicator(lept.PIX pixs,
lept.PIXA pixa,
lept.NUMA na) |
static int |
pixRenderBox(lept.PIX pix,
lept.BOX box,
int width,
int op) |
static int |
pixRenderBoxa(lept.PIX pix,
lept.BOXA boxa,
int width,
int op) |
static int |
pixRenderBoxaArb(lept.PIX pix,
lept.BOXA boxa,
int width,
byte rval,
byte gval,
byte bval) |
static int |
pixRenderBoxaBlend(lept.PIX pix,
lept.BOXA boxa,
int width,
byte rval,
byte gval,
byte bval,
float fract,
int removedups) |
static int |
pixRenderBoxArb(lept.PIX pix,
lept.BOX box,
int width,
byte rval,
byte gval,
byte bval) |
static int |
pixRenderBoxBlend(lept.PIX pix,
lept.BOX box,
int width,
byte rval,
byte gval,
byte bval,
float fract) |
static lept.PIX |
pixRenderContours(lept.PIX pixs,
int startval,
int incr,
int outdepth) |
static int |
pixRenderHashBox(lept.PIX pix,
lept.BOX box,
int spacing,
int width,
int orient,
int outline,
int op) |
static int |
pixRenderHashBoxa(lept.PIX pix,
lept.BOXA boxa,
int spacing,
int width,
int orient,
int outline,
int op) |
static int |
pixRenderHashBoxaArb(lept.PIX pix,
lept.BOXA boxa,
int spacing,
int width,
int orient,
int outline,
int rval,
int gval,
int bval) |
static int |
pixRenderHashBoxaBlend(lept.PIX pix,
lept.BOXA boxa,
int spacing,
int width,
int orient,
int outline,
int rval,
int gval,
int bval,
float fract) |
static int |
pixRenderHashBoxArb(lept.PIX pix,
lept.BOX box,
int spacing,
int width,
int orient,
int outline,
int rval,
int gval,
int bval) |
static int |
pixRenderHashBoxBlend(lept.PIX pix,
lept.BOX box,
int spacing,
int width,
int orient,
int outline,
int rval,
int gval,
int bval,
float fract) |
static int |
pixRenderLine(lept.PIX pix,
int x1,
int y1,
int x2,
int y2,
int width,
int op) |
static int |
pixRenderLineArb(lept.PIX pix,
int x1,
int y1,
int x2,
int y2,
int width,
byte rval,
byte gval,
byte bval) |
static int |
pixRenderLineBlend(lept.PIX pix,
int x1,
int y1,
int x2,
int y2,
int width,
byte rval,
byte gval,
byte bval,
float fract) |
static int |
pixRenderPlotFromNuma(lept.PIX ppix,
lept.NUMA na,
int plotloc,
int linewidth,
int max,
int color) |
static int |
pixRenderPlotFromNuma(PointerPointer ppix,
lept.NUMA na,
int plotloc,
int linewidth,
int max,
int color) |
static int |
pixRenderPlotFromNumaGen(lept.PIX ppix,
lept.NUMA na,
int orient,
int linewidth,
int refpos,
int max,
int drawref,
int color) |
static int |
pixRenderPlotFromNumaGen(PointerPointer ppix,
lept.NUMA na,
int orient,
int linewidth,
int refpos,
int max,
int drawref,
int color) |
static lept.PIX |
pixRenderPolygon(lept.PTA ptas,
int width,
int[] pxmin,
int[] pymin) |
static lept.PIX |
pixRenderPolygon(lept.PTA ptas,
int width,
IntBuffer pxmin,
IntBuffer pymin) |
static lept.PIX |
pixRenderPolygon(lept.PTA ptas,
int width,
IntPointer pxmin,
IntPointer pymin) |
static int |
pixRenderPolyline(lept.PIX pix,
lept.PTA ptas,
int width,
int op,
int closeflag) |
static int |
pixRenderPolylineArb(lept.PIX pix,
lept.PTA ptas,
int width,
byte rval,
byte gval,
byte bval,
int closeflag) |
static int |
pixRenderPolylineBlend(lept.PIX pix,
lept.PTA ptas,
int width,
byte rval,
byte gval,
byte bval,
float fract,
int closeflag,
int removedups) |
static int |
pixRenderPta(lept.PIX pix,
lept.PTA pta,
int op) |
static int |
pixRenderPtaArb(lept.PIX pix,
lept.PTA pta,
byte rval,
byte gval,
byte bval) |
static int |
pixRenderPtaBlend(lept.PIX pix,
lept.PTA pta,
byte rval,
byte gval,
byte bval,
float fract) |
static lept.PIX |
pixRenderRandomCmapPtaa(lept.PIX pix,
lept.PTAA ptaa,
int polyflag,
int width,
int closeflag) |
static int |
pixResizeImageData(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixResizeToMatch(lept.PIX pixs,
lept.PIX pixt,
int w,
int h) |
static lept.NUMA |
pixReversalProfile(lept.PIX pixs,
float fract,
int dir,
int first,
int last,
int minreversal,
int factor1,
int factor2) |
static lept.PIX |
pixRotate(lept.PIX pixs,
float angle,
int type,
int incolor,
int width,
int height) |
static lept.PIX |
pixRotate180(lept.PIX pixd,
lept.PIX pixs) |
static lept.PIX |
pixRotate2Shear(lept.PIX pixs,
int xcen,
int ycen,
float angle,
int incolor) |
static lept.PIX |
pixRotate3Shear(lept.PIX pixs,
int xcen,
int ycen,
float angle,
int incolor) |
static lept.PIX |
pixRotate90(lept.PIX pixs,
int direction) |
static lept.PIX |
pixRotateAM(lept.PIX pixs,
float angle,
int incolor) |
static lept.PIX |
pixRotateAMColor(lept.PIX pixs,
float angle,
int colorval) |
static lept.PIX |
pixRotateAMColorCorner(lept.PIX pixs,
float angle,
int fillval) |
static lept.PIX |
pixRotateAMColorFast(lept.PIX pixs,
float angle,
int colorval) |
static lept.PIX |
pixRotateAMCorner(lept.PIX pixs,
float angle,
int incolor) |
static lept.PIX |
pixRotateAMGray(lept.PIX pixs,
float angle,
byte grayval) |
static lept.PIX |
pixRotateAMGrayCorner(lept.PIX pixs,
float angle,
byte grayval) |
static lept.PIX |
pixRotateBinaryNice(lept.PIX pixs,
float angle,
int incolor) |
static lept.PIX |
pixRotateBySampling(lept.PIX pixs,
int xcen,
int ycen,
float angle,
int incolor) |
static lept.PIX |
pixRotateOrth(lept.PIX pixs,
int quads) |
static lept.PIX |
pixRotateShear(lept.PIX pixs,
int xcen,
int ycen,
float angle,
int incolor) |
static lept.PIX |
pixRotateShearCenter(lept.PIX pixs,
float angle,
int incolor) |
static int |
pixRotateShearCenterIP(lept.PIX pixs,
float angle,
int incolor) |
static int |
pixRotateShearIP(lept.PIX pixs,
int xcen,
int ycen,
float angle,
int incolor) |
static lept.PIX |
pixRotateWithAlpha(lept.PIX pixs,
float angle,
lept.PIX pixg,
float fract) |
static int |
pixRowStats(lept.PIX pixs,
lept.BOX box,
lept.NUMA pnamean,
lept.NUMA pnamedian,
lept.NUMA pnamode,
lept.NUMA pnamodecount,
lept.NUMA pnavar,
lept.NUMA pnarootvar) |
static int |
pixRowStats(lept.PIX pixs,
lept.BOX box,
PointerPointer pnamean,
PointerPointer pnamedian,
PointerPointer pnamode,
PointerPointer pnamodecount,
PointerPointer pnavar,
PointerPointer pnarootvar) |
static lept.NUMA |
pixRunHistogramMorph(lept.PIX pixs,
int runtype,
int direction,
int maxsize) |
static lept.PIX |
pixRunlengthTransform(lept.PIX pixs,
int color,
int direction,
int depth) |
static int |
pixSauvolaBinarize(lept.PIX pixs,
int whsize,
float factor,
int addborder,
lept.PIX ppixm,
lept.PIX ppixsd,
lept.PIX ppixth,
lept.PIX ppixd) |
static int |
pixSauvolaBinarize(lept.PIX pixs,
int whsize,
float factor,
int addborder,
PointerPointer ppixm,
PointerPointer ppixsd,
PointerPointer ppixth,
PointerPointer ppixd) |
static int |
pixSauvolaBinarizeTiled(lept.PIX pixs,
int whsize,
float factor,
int nx,
int ny,
lept.PIX ppixth,
lept.PIX ppixd) |
static int |
pixSauvolaBinarizeTiled(lept.PIX pixs,
int whsize,
float factor,
int nx,
int ny,
PointerPointer ppixth,
PointerPointer ppixd) |
static lept.PIX |
pixSauvolaGetThreshold(lept.PIX pixm,
lept.PIX pixms,
float factor,
lept.PIX ppixsd) |
static lept.PIX |
pixSauvolaGetThreshold(lept.PIX pixm,
lept.PIX pixms,
float factor,
PointerPointer ppixsd) |
static int |
pixSaveTiled(lept.PIX pixs,
lept.PIXA pixa,
float scalefactor,
int newrow,
int space,
int dp) |
static int |
pixSaveTiledOutline(lept.PIX pixs,
lept.PIXA pixa,
float scalefactor,
int newrow,
int space,
int linewidth,
int dp) |
static int |
pixSaveTiledWithText(lept.PIX pixs,
lept.PIXA pixa,
int outwidth,
int newrow,
int space,
int linewidth,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int location) |
static int |
pixSaveTiledWithText(lept.PIX pixs,
lept.PIXA pixa,
int outwidth,
int newrow,
int space,
int linewidth,
lept.L_BMF bmf,
String textstr,
int val,
int location) |
static lept.PIX |
pixScale(lept.PIX pixs,
float scalex,
float scaley) |
static int |
pixScaleAndTransferAlpha(lept.PIX pixd,
lept.PIX pixs,
float scalex,
float scaley) |
static lept.PIX |
pixScaleAreaMap(lept.PIX pix,
float scalex,
float scaley) |
static lept.PIX |
pixScaleAreaMap2(lept.PIX pix) |
static lept.PIX |
pixScaleBinary(lept.PIX pixs,
float scalex,
float scaley) |
static lept.PIX |
pixScaleByIntSampling(lept.PIX pixs,
int factor) |
static lept.PIX |
pixScaleBySampling(lept.PIX pixs,
float scalex,
float scaley) |
static lept.PIX |
pixScaleBySamplingToSize(lept.PIX pixs,
int wd,
int hd) |
static lept.PIX |
pixScaleColor2xLI(lept.PIX pixs) |
static lept.PIX |
pixScaleColor4xLI(lept.PIX pixs) |
static lept.PIX |
pixScaleColorLI(lept.PIX pixs,
float scalex,
float scaley) |
static lept.PIX |
pixScaleGeneral(lept.PIX pixs,
float scalex,
float scaley,
float sharpfract,
int sharpwidth) |
static lept.PIX |
pixScaleGray2xLI(lept.PIX pixs) |
static lept.PIX |
pixScaleGray2xLIDither(lept.PIX pixs) |
static lept.PIX |
pixScaleGray2xLIThresh(lept.PIX pixs,
int thresh) |
static lept.PIX |
pixScaleGray4xLI(lept.PIX pixs) |
static lept.PIX |
pixScaleGray4xLIDither(lept.PIX pixs) |
static lept.PIX |
pixScaleGray4xLIThresh(lept.PIX pixs,
int thresh) |
static lept.PIX |
pixScaleGrayLI(lept.PIX pixs,
float scalex,
float scaley) |
static lept.PIX |
pixScaleGrayMinMax(lept.PIX pixs,
int xfact,
int yfact,
int type) |
static lept.PIX |
pixScaleGrayMinMax2(lept.PIX pixs,
int type) |
static lept.PIX |
pixScaleGrayRank2(lept.PIX pixs,
int rank) |
static lept.PIX |
pixScaleGrayRankCascade(lept.PIX pixs,
int level1,
int level2,
int level3,
int level4) |
static lept.PIX |
pixScaleGrayToBinaryFast(lept.PIX pixs,
int factor,
int thresh) |
static lept.PIX |
pixScaleLI(lept.PIX pixs,
float scalex,
float scaley) |
static lept.PIX |
pixScaleMipmap(lept.PIX pixs1,
lept.PIX pixs2,
float scale) |
static int |
pixScaleResolution(lept.PIX pix,
float xscale,
float yscale) |
static lept.PIX |
pixScaleRGBToBinaryFast(lept.PIX pixs,
int factor,
int thresh) |
static lept.PIX |
pixScaleRGBToGray2(lept.PIX pixs,
float rwt,
float gwt,
float bwt) |
static lept.PIX |
pixScaleRGBToGrayFast(lept.PIX pixs,
int factor,
int color) |
static lept.PIX |
pixScaleSmooth(lept.PIX pix,
float scalex,
float scaley) |
static lept.PIX |
pixScaleToGray(lept.PIX pixs,
float scalefactor) |
static lept.PIX |
pixScaleToGray16(lept.PIX pixs) |
static lept.PIX |
pixScaleToGray2(lept.PIX pixs) |
static lept.PIX |
pixScaleToGray3(lept.PIX pixs) |
static lept.PIX |
pixScaleToGray4(lept.PIX pixs) |
static lept.PIX |
pixScaleToGray6(lept.PIX pixs) |
static lept.PIX |
pixScaleToGray8(lept.PIX pixs) |
static lept.PIX |
pixScaleToGrayFast(lept.PIX pixs,
float scalefactor) |
static lept.PIX |
pixScaleToGrayMipmap(lept.PIX pixs,
float scalefactor) |
static lept.PIX |
pixScaleToSize(lept.PIX pixs,
int wd,
int hd) |
static lept.PIX |
pixScaleWithAlpha(lept.PIX pixs,
float scalex,
float scaley,
lept.PIX pixg,
float fract) |
static int |
pixScanForEdge(lept.PIX pixs,
lept.BOX box,
int lowthresh,
int highthresh,
int maxwidth,
int factor,
int scanflag,
int[] ploc) |
static int |
pixScanForEdge(lept.PIX pixs,
lept.BOX box,
int lowthresh,
int highthresh,
int maxwidth,
int factor,
int scanflag,
IntBuffer ploc) |
static int |
pixScanForEdge(lept.PIX pixs,
lept.BOX box,
int lowthresh,
int highthresh,
int maxwidth,
int factor,
int scanflag,
IntPointer ploc) |
static int |
pixScanForForeground(lept.PIX pixs,
lept.BOX box,
int scanflag,
int[] ploc) |
static int |
pixScanForForeground(lept.PIX pixs,
lept.BOX box,
int scanflag,
IntBuffer ploc) |
static int |
pixScanForForeground(lept.PIX pixs,
lept.BOX box,
int scanflag,
IntPointer ploc) |
static lept.PTA |
pixSearchBinaryMaze(lept.PIX pixs,
int xi,
int yi,
int xf,
int yf,
lept.PIX ppixd) |
static lept.PTA |
pixSearchBinaryMaze(lept.PIX pixs,
int xi,
int yi,
int xf,
int yf,
PointerPointer ppixd) |
static lept.PTA |
pixSearchGrayMaze(lept.PIX pixs,
int xi,
int yi,
int xf,
int yf,
lept.PIX ppixd) |
static lept.PTA |
pixSearchGrayMaze(lept.PIX pixs,
int xi,
int yi,
int xf,
int yf,
PointerPointer ppixd) |
static int |
pixSeedfill(lept.PIX pixs,
lept.L_STACK stack,
int x,
int y,
int connectivity) |
static int |
pixSeedfill4(lept.PIX pixs,
lept.L_STACK stack,
int x,
int y) |
static lept.BOX |
pixSeedfill4BB(lept.PIX pixs,
lept.L_STACK stack,
int x,
int y) |
static int |
pixSeedfill8(lept.PIX pixs,
lept.L_STACK stack,
int x,
int y) |
static lept.BOX |
pixSeedfill8BB(lept.PIX pixs,
lept.L_STACK stack,
int x,
int y) |
static lept.BOX |
pixSeedfillBB(lept.PIX pixs,
lept.L_STACK stack,
int x,
int y,
int connectivity) |
static lept.PIX |
pixSeedfillBinary(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int connectivity) |
static lept.PIX |
pixSeedfillBinaryRestricted(lept.PIX pixd,
lept.PIX pixs,
lept.PIX pixm,
int connectivity,
int xmax,
int ymax) |
static int |
pixSeedfillGray(lept.PIX pixs,
lept.PIX pixm,
int connectivity) |
static lept.PIX |
pixSeedfillGrayBasin(lept.PIX pixb,
lept.PIX pixm,
int delta,
int connectivity) |
static int |
pixSeedfillGrayInv(lept.PIX pixs,
lept.PIX pixm,
int connectivity) |
static int |
pixSeedfillGrayInvSimple(lept.PIX pixs,
lept.PIX pixm,
int connectivity) |
static int |
pixSeedfillGraySimple(lept.PIX pixs,
lept.PIX pixm,
int connectivity) |
static lept.PIX |
pixSeedfillMorph(lept.PIX pixs,
lept.PIX pixm,
int maxiters,
int connectivity) |
static lept.PIX |
pixSeedspread(lept.PIX pixs,
int connectivity) |
static lept.PIX |
pixSelectByAreaFraction(lept.PIX pixs,
float thresh,
int connectivity,
int type,
int[] pchanged) |
static lept.PIX |
pixSelectByAreaFraction(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntBuffer pchanged) |
static lept.PIX |
pixSelectByAreaFraction(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntPointer pchanged) |
static lept.PIX |
pixSelectByPerimSizeRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
int[] pchanged) |
static lept.PIX |
pixSelectByPerimSizeRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntBuffer pchanged) |
static lept.PIX |
pixSelectByPerimSizeRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntPointer pchanged) |
static lept.PIX |
pixSelectByPerimToAreaRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
int[] pchanged) |
static lept.PIX |
pixSelectByPerimToAreaRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntBuffer pchanged) |
static lept.PIX |
pixSelectByPerimToAreaRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntPointer pchanged) |
static lept.PIX |
pixSelectBySize(lept.PIX pixs,
int width,
int height,
int connectivity,
int type,
int relation,
int[] pchanged) |
static lept.PIX |
pixSelectBySize(lept.PIX pixs,
int width,
int height,
int connectivity,
int type,
int relation,
IntBuffer pchanged) |
static lept.PIX |
pixSelectBySize(lept.PIX pixs,
int width,
int height,
int connectivity,
int type,
int relation,
IntPointer pchanged) |
static lept.PIX |
pixSelectByWidthHeightRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
int[] pchanged) |
static lept.PIX |
pixSelectByWidthHeightRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntBuffer pchanged) |
static lept.PIX |
pixSelectByWidthHeightRatio(lept.PIX pixs,
float thresh,
int connectivity,
int type,
IntPointer pchanged) |
static int |
pixSelectedLocalExtrema(lept.PIX pixs,
int mindist,
lept.PIX ppixmin,
lept.PIX ppixmax) |
static int |
pixSelectedLocalExtrema(lept.PIX pixs,
int mindist,
PointerPointer ppixmin,
PointerPointer ppixmax) |
static lept.PIX |
pixSelectiveConnCompFill(lept.PIX pixs,
int connectivity,
int minw,
int minh) |
static int |
pixSelectMinInConnComp(lept.PIX pixs,
lept.PIX pixm,
lept.PTA ppta,
lept.NUMA pnav) |
static int |
pixSelectMinInConnComp(lept.PIX pixs,
lept.PIX pixm,
PointerPointer ppta,
PointerPointer pnav) |
static int |
pixSerializeToMemory(lept.PIX pixs,
int[] pdata,
SizeTPointer pnbytes) |
static int |
pixSerializeToMemory(lept.PIX pixs,
IntBuffer pdata,
SizeTPointer pnbytes) |
static int |
pixSerializeToMemory(lept.PIX pixs,
IntPointer pdata,
SizeTPointer pnbytes) |
static int |
pixSerializeToMemory(lept.PIX pixs,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
pixSetAll(lept.PIX pix) |
static int |
pixSetAllArbitrary(lept.PIX pix,
int val) |
static int |
pixSetAllGray(lept.PIX pix,
int grayval) |
static lept.PIX |
pixSetAlphaOverWhite(lept.PIX pixs) |
static int |
pixSetBlackOrWhite(lept.PIX pixs,
int op) |
static lept.PIX |
pixSetBlackOrWhiteBoxa(lept.PIX pixs,
lept.BOXA boxa,
int op) |
static int |
pixSetBorderRingVal(lept.PIX pixs,
int dist,
int val) |
static int |
pixSetBorderVal(lept.PIX pixs,
int left,
int right,
int top,
int bot,
int val) |
static int |
pixSetChromaSampling(lept.PIX pix,
int sampling) |
static int |
pixSetColormap(lept.PIX pix,
lept.PIXCMAP colormap) |
static int |
pixSetComponentArbitrary(lept.PIX pix,
int comp,
int val) |
static int |
pixSetData(lept.PIX pix,
int[] data) |
static int |
pixSetData(lept.PIX pix,
IntBuffer data) |
static int |
pixSetData(lept.PIX pix,
IntPointer data) |
static int |
pixSetDepth(lept.PIX pix,
int depth) |
static int |
pixSetDimensions(lept.PIX pix,
int w,
int h,
int d) |
static int |
pixSetHeight(lept.PIX pix,
int height) |
static int |
pixSetInputFormat(lept.PIX pix,
int informat) |
static int |
pixSetInRect(lept.PIX pix,
lept.BOX box) |
static int |
pixSetInRectArbitrary(lept.PIX pix,
lept.BOX box,
int val) |
static int |
pixSetLowContrast(lept.PIX pixs1,
lept.PIX pixs2,
int mindiff) |
static int |
pixSetMasked(lept.PIX pixd,
lept.PIX pixm,
int val) |
static int |
pixSetMaskedCmap(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int rval,
int gval,
int bval) |
static int |
pixSetMaskedGeneral(lept.PIX pixd,
lept.PIX pixm,
int val,
int x,
int y) |
static int |
pixSetMirroredBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot) |
static int |
pixSetOrClearBorder(lept.PIX pixs,
int left,
int right,
int top,
int bot,
int op) |
static int |
pixSetPadBits(lept.PIX pix,
int val) |
static int |
pixSetPadBitsBand(lept.PIX pix,
int by,
int bh,
int val) |
static int |
pixSetPixel(lept.PIX pix,
int x,
int y,
int val) |
static int |
pixSetPixelColumn(lept.PIX pix,
int col,
float[] colvect) |
static int |
pixSetPixelColumn(lept.PIX pix,
int col,
FloatBuffer colvect) |
static int |
pixSetPixelColumn(lept.PIX pix,
int col,
FloatPointer colvect) |
static int |
pixSetResolution(lept.PIX pix,
int xres,
int yres) |
static int |
pixSetRGBComponent(lept.PIX pixd,
lept.PIX pixs,
int comp) |
static int |
pixSetRGBPixel(lept.PIX pix,
int x,
int y,
int rval,
int gval,
int bval) |
static int |
pixSetSelectCmap(lept.PIX pixs,
lept.BOX box,
int sindex,
int rval,
int gval,
int bval) |
static int |
pixSetSelectMaskedCmap(lept.PIX pixs,
lept.PIX pixm,
int x,
int y,
int sindex,
int rval,
int gval,
int bval) |
static int |
pixSetSpp(lept.PIX pix,
int spp) |
static int |
pixSetText(lept.PIX pix,
BytePointer textstring) |
static int |
pixSetText(lept.PIX pix,
String textstring) |
static int |
pixSetTextblock(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int x0,
int y0,
int wtext,
int firstindent,
int[] poverflow) |
static int |
pixSetTextblock(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int x0,
int y0,
int wtext,
int firstindent,
IntBuffer poverflow) |
static int |
pixSetTextblock(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int x0,
int y0,
int wtext,
int firstindent,
IntPointer poverflow) |
static int |
pixSetTextblock(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int x0,
int y0,
int wtext,
int firstindent,
int[] poverflow) |
static int |
pixSetTextblock(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int x0,
int y0,
int wtext,
int firstindent,
IntBuffer poverflow) |
static int |
pixSetTextblock(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int x0,
int y0,
int wtext,
int firstindent,
IntPointer poverflow) |
static int |
pixSetTextline(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int x0,
int y0,
int[] pwidth,
int[] poverflow) |
static int |
pixSetTextline(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int x0,
int y0,
IntBuffer pwidth,
IntBuffer poverflow) |
static int |
pixSetTextline(lept.PIX pixs,
lept.L_BMF bmf,
BytePointer textstr,
int val,
int x0,
int y0,
IntPointer pwidth,
IntPointer poverflow) |
static int |
pixSetTextline(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int x0,
int y0,
int[] pwidth,
int[] poverflow) |
static int |
pixSetTextline(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int x0,
int y0,
IntBuffer pwidth,
IntBuffer poverflow) |
static int |
pixSetTextline(lept.PIX pixs,
lept.L_BMF bmf,
String textstr,
int val,
int x0,
int y0,
IntPointer pwidth,
IntPointer poverflow) |
static lept.PIX |
pixSetUnderTransparency(lept.PIX pixs,
int val,
int debug) |
static byte[] |
pixSetupByteProcessing(lept.PIX pix,
int[] pw,
int[] ph) |
static ByteBuffer |
pixSetupByteProcessing(lept.PIX pix,
IntBuffer pw,
IntBuffer ph) |
static PointerPointer |
pixSetupByteProcessing(lept.PIX pix,
IntPointer pw,
IntPointer ph) |
static int |
pixSetWidth(lept.PIX pix,
int width) |
static int |
pixSetWpl(lept.PIX pix,
int wpl) |
static int |
pixSetXRes(lept.PIX pix,
int res) |
static int |
pixSetYRes(lept.PIX pix,
int res) |
static int |
pixSetZlibCompression(lept.PIX pix,
int compval) |
static int |
pixShiftAndTransferAlpha(lept.PIX pixd,
lept.PIX pixs,
float shiftx,
float shifty) |
static lept.PIX |
pixShiftByComponent(lept.PIX pixd,
lept.PIX pixs,
int srcval,
int dstval) |
static lept.PIX |
pixSimpleCaptcha(lept.PIX pixs,
int border,
int nterms,
int seed,
int color,
int cmapflag) |
static lept.PIX |
pixSimpleColorQuantize(lept.PIX pixs,
int sigbits,
int factor,
int ncolors) |
static int |
pixSizesEqual(lept.PIX pix1,
lept.PIX pix2) |
static int |
pixSmoothConnectedRegions(lept.PIX pixs,
lept.PIX pixm,
int factor) |
static lept.PIX |
pixSnapColor(lept.PIX pixd,
lept.PIX pixs,
int srcval,
int dstval,
int diff) |
static lept.PIX |
pixSnapColorCmap(lept.PIX pixd,
lept.PIX pixs,
int srcval,
int dstval,
int diff) |
static lept.PIX |
pixSobelEdgeFilter(lept.PIX pixs,
int orientflag) |
static lept.BOXA |
pixSplitComponentIntoBoxa(lept.PIX pix,
lept.BOX box,
int minsum,
int skipdist,
int delta,
int maxbg,
int maxcomps,
int remainder) |
static lept.BOXA |
pixSplitComponentWithProfile(lept.PIX pixs,
int delta,
int mindel,
lept.PIX ppixdebug) |
static lept.BOXA |
pixSplitComponentWithProfile(lept.PIX pixs,
int delta,
int mindel,
PointerPointer ppixdebug) |
static int |
pixSplitDistributionFgBg(lept.PIX pixs,
float scorefract,
int factor,
int[] pthresh,
int[] pfgval,
int[] pbgval,
int debugflag) |
static int |
pixSplitDistributionFgBg(lept.PIX pixs,
float scorefract,
int factor,
IntBuffer pthresh,
IntBuffer pfgval,
IntBuffer pbgval,
int debugflag) |
static int |
pixSplitDistributionFgBg(lept.PIX pixs,
float scorefract,
int factor,
IntPointer pthresh,
IntPointer pfgval,
IntPointer pbgval,
int debugflag) |
static lept.BOXA |
pixSplitIntoBoxa(lept.PIX pixs,
int minsum,
int skipdist,
int delta,
int maxbg,
int maxcomps,
int remainder) |
static int |
pixSplitIntoCharacters(lept.PIX pixs,
int minw,
int minh,
lept.BOXA pboxa,
lept.PIXA ppixa,
lept.PIX ppixdebug) |
static int |
pixSplitIntoCharacters(lept.PIX pixs,
int minw,
int minh,
PointerPointer pboxa,
PointerPointer ppixa,
PointerPointer ppixdebug) |
static lept.PIX |
pixStereoFromPair(lept.PIX pix1,
lept.PIX pix2,
float rwt,
float gwt,
float bwt) |
static lept.PIX |
pixStretchHorizontal(lept.PIX pixs,
int dir,
int type,
int hmax,
int operation,
int incolor) |
static lept.PIX |
pixStretchHorizontalLI(lept.PIX pixs,
int dir,
int type,
int hmax,
int incolor) |
static lept.PIX |
pixStretchHorizontalSampled(lept.PIX pixs,
int dir,
int type,
int hmax,
int incolor) |
static lept.PIX |
pixStrokeWidthTransform(lept.PIX pixs,
int color,
int depth,
int nangles) |
static lept.PTA |
pixSubsampleBoundaryPixels(lept.PIX pixs,
int skip) |
static lept.PIX |
pixSubtract(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2) |
static lept.PIX |
pixSubtractGray(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2) |
static int |
pixSwapAndDestroy(lept.PIX ppixd,
lept.PIX ppixs) |
static int |
pixSwapAndDestroy(PointerPointer ppixd,
PointerPointer ppixs) |
static int |
pixTestClipToForeground(lept.PIX pixs,
int[] pcanclip) |
static int |
pixTestClipToForeground(lept.PIX pixs,
IntBuffer pcanclip) |
static int |
pixTestClipToForeground(lept.PIX pixs,
IntPointer pcanclip) |
static int |
pixTestForSimilarity(lept.PIX pix1,
lept.PIX pix2,
int factor,
int mindiff,
float maxfract,
float maxave,
int[] psimilar,
int printstats) |
static int |
pixTestForSimilarity(lept.PIX pix1,
lept.PIX pix2,
int factor,
int mindiff,
float maxfract,
float maxave,
IntBuffer psimilar,
int printstats) |
static int |
pixTestForSimilarity(lept.PIX pix1,
lept.PIX pix2,
int factor,
int mindiff,
float maxfract,
float maxave,
IntPointer psimilar,
int printstats) |
static lept.PIX |
pixThin(lept.PIX pixs,
int type,
int connectivity,
int maxiters) |
static lept.PIX |
pixThinExamples(lept.PIX pixs,
int type,
int index,
int maxiters,
BytePointer selfile) |
static lept.PIX |
pixThinExamples(lept.PIX pixs,
int type,
int index,
int maxiters,
String selfile) |
static lept.PIX |
pixThinGeneral(lept.PIX pixs,
int type,
lept.SELA sela,
int maxiters) |
static lept.PIX |
pixThreshold8(lept.PIX pixs,
int d,
int nlevels,
int cmapflag) |
static int |
pixThresholdByConnComp(lept.PIX pixs,
lept.PIX pixm,
int start,
int end,
int incr,
float thresh48,
float threshdiff,
int[] pglobthresh,
lept.PIX ppixd,
int debugflag) |
static int |
pixThresholdByConnComp(lept.PIX pixs,
lept.PIX pixm,
int start,
int end,
int incr,
float thresh48,
float threshdiff,
IntBuffer pglobthresh,
lept.PIX ppixd,
int debugflag) |
static int |
pixThresholdByConnComp(lept.PIX pixs,
lept.PIX pixm,
int start,
int end,
int incr,
float thresh48,
float threshdiff,
IntPointer pglobthresh,
lept.PIX ppixd,
int debugflag) |
static int |
pixThresholdByConnComp(lept.PIX pixs,
lept.PIX pixm,
int start,
int end,
int incr,
float thresh48,
float threshdiff,
IntPointer pglobthresh,
PointerPointer ppixd,
int debugflag) |
static int |
pixThresholdForFgBg(lept.PIX pixs,
int factor,
int thresh,
int[] pfgval,
int[] pbgval) |
static int |
pixThresholdForFgBg(lept.PIX pixs,
int factor,
int thresh,
IntBuffer pfgval,
IntBuffer pbgval) |
static int |
pixThresholdForFgBg(lept.PIX pixs,
int factor,
int thresh,
IntPointer pfgval,
IntPointer pbgval) |
static lept.PIX |
pixThresholdGrayArb(lept.PIX pixs,
BytePointer edgevals,
int outdepth,
int use_average,
int setblack,
int setwhite) |
static lept.PIX |
pixThresholdGrayArb(lept.PIX pixs,
String edgevals,
int outdepth,
int use_average,
int setblack,
int setwhite) |
static lept.PIX |
pixThresholdOn8bpp(lept.PIX pixs,
int nlevels,
int cmapflag) |
static int |
pixThresholdPixelSum(lept.PIX pix,
int thresh,
int[] pabove,
int[] tab8) |
static int |
pixThresholdPixelSum(lept.PIX pix,
int thresh,
IntBuffer pabove,
IntBuffer tab8) |
static int |
pixThresholdPixelSum(lept.PIX pix,
int thresh,
IntPointer pabove,
IntPointer tab8) |
static int |
pixThresholdSpreadNorm(lept.PIX pixs,
int filtertype,
int edgethresh,
int smoothx,
int smoothy,
float gamma,
int minval,
int maxval,
int targetthresh,
lept.PIX ppixth,
lept.PIX ppixb,
lept.PIX ppixd) |
static int |
pixThresholdSpreadNorm(lept.PIX pixs,
int filtertype,
int edgethresh,
int smoothx,
int smoothy,
float gamma,
int minval,
int maxval,
int targetthresh,
PointerPointer ppixth,
PointerPointer ppixb,
PointerPointer ppixd) |
static lept.PIX |
pixThresholdTo2bpp(lept.PIX pixs,
int nlevels,
int cmapflag) |
static lept.PIX |
pixThresholdTo4bpp(lept.PIX pixs,
int nlevels,
int cmapflag) |
static lept.PIX |
pixThresholdToBinary(lept.PIX pixs,
int thresh) |
static lept.PIX |
pixThresholdToValue(lept.PIX pixd,
lept.PIX pixs,
int threshval,
int setval) |
static lept.PIXTILING |
pixTilingCreate(lept.PIX pixs,
int nx,
int ny,
int w,
int h,
int xoverlap,
int yoverlap) |
static void |
pixTilingDestroy(lept.PIXTILING ppt) |
static void |
pixTilingDestroy(PointerPointer ppt) |
static int |
pixTilingGetCount(lept.PIXTILING pt,
int[] pnx,
int[] pny) |
static int |
pixTilingGetCount(lept.PIXTILING pt,
IntBuffer pnx,
IntBuffer pny) |
static int |
pixTilingGetCount(lept.PIXTILING pt,
IntPointer pnx,
IntPointer pny) |
static int |
pixTilingGetSize(lept.PIXTILING pt,
int[] pw,
int[] ph) |
static int |
pixTilingGetSize(lept.PIXTILING pt,
IntBuffer pw,
IntBuffer ph) |
static int |
pixTilingGetSize(lept.PIXTILING pt,
IntPointer pw,
IntPointer ph) |
static lept.PIX |
pixTilingGetTile(lept.PIXTILING pt,
int i,
int j) |
static int |
pixTilingNoStripOnPaint(lept.PIXTILING pt) |
static int |
pixTilingPaintTile(lept.PIX pixd,
int i,
int j,
lept.PIX pixs,
lept.PIXTILING pt) |
static lept.PIX |
pixTophat(lept.PIX pixs,
int hsize,
int vsize,
int type) |
static int |
pixTransferAllData(lept.PIX pixd,
lept.PIX ppixs,
int copytext,
int copyformat) |
static int |
pixTransferAllData(lept.PIX pixd,
PointerPointer ppixs,
int copytext,
int copyformat) |
static lept.PIX |
pixTranslate(lept.PIX pixd,
lept.PIX pixs,
int hshift,
int vshift,
int incolor) |
static int |
pixTRCMap(lept.PIX pixs,
lept.PIX pixm,
lept.NUMA na) |
static lept.PIX |
pixTwoSidedEdgeFilter(lept.PIX pixs,
int orientflag) |
static lept.PIX |
pixUnionOfMorphOps(lept.PIX pixs,
lept.SELA sela,
int type) |
static lept.PIX |
pixUnpackBinary(lept.PIX pixs,
int depth,
int invert) |
static lept.PIX |
pixUnsharpMasking(lept.PIX pixs,
int halfwidth,
float fract) |
static lept.PIX |
pixUnsharpMaskingFast(lept.PIX pixs,
int halfwidth,
float fract,
int direction) |
static lept.PIX |
pixUnsharpMaskingGray(lept.PIX pixs,
int halfwidth,
float fract) |
static lept.PIX |
pixUnsharpMaskingGray1D(lept.PIX pixs,
int halfwidth,
float fract,
int direction) |
static lept.PIX |
pixUnsharpMaskingGray2D(lept.PIX pixs,
int halfwidth,
float fract) |
static lept.PIX |
pixUnsharpMaskingGrayFast(lept.PIX pixs,
int halfwidth,
float fract,
int direction) |
static int |
pixUpDownDetect(lept.PIX pixs,
float[] pconf,
int mincount,
int debug) |
static int |
pixUpDownDetect(lept.PIX pixs,
FloatBuffer pconf,
int mincount,
int debug) |
static int |
pixUpDownDetect(lept.PIX pixs,
FloatPointer pconf,
int mincount,
int debug) |
static int |
pixUpDownDetectDwa(lept.PIX pixs,
float[] pconf,
int mincount,
int debug) |
static int |
pixUpDownDetectDwa(lept.PIX pixs,
FloatBuffer pconf,
int mincount,
int debug) |
static int |
pixUpDownDetectDwa(lept.PIX pixs,
FloatPointer pconf,
int mincount,
int debug) |
static int |
pixUpDownDetectGeneral(lept.PIX pixs,
float[] pconf,
int mincount,
int npixels,
int debug) |
static int |
pixUpDownDetectGeneral(lept.PIX pixs,
FloatBuffer pconf,
int mincount,
int npixels,
int debug) |
static int |
pixUpDownDetectGeneral(lept.PIX pixs,
FloatPointer pconf,
int mincount,
int npixels,
int debug) |
static int |
pixUpDownDetectGeneralDwa(lept.PIX pixs,
float[] pconf,
int mincount,
int npixels,
int debug) |
static int |
pixUpDownDetectGeneralDwa(lept.PIX pixs,
FloatBuffer pconf,
int mincount,
int npixels,
int debug) |
static int |
pixUpDownDetectGeneralDwa(lept.PIX pixs,
FloatPointer pconf,
int mincount,
int npixels,
int debug) |
static int |
pixUsesCmapColor(lept.PIX pixs,
int[] pcolor) |
static int |
pixUsesCmapColor(lept.PIX pixs,
IntBuffer pcolor) |
static int |
pixUsesCmapColor(lept.PIX pixs,
IntPointer pcolor) |
static lept.NUMA |
pixVarianceByColumn(lept.PIX pix,
lept.BOX box) |
static lept.NUMA |
pixVarianceByRow(lept.PIX pix,
lept.BOX box) |
static int |
pixVarianceInRect(lept.PIX pix,
lept.BOX box,
float[] prootvar) |
static int |
pixVarianceInRect(lept.PIX pix,
lept.BOX box,
FloatBuffer prootvar) |
static int |
pixVarianceInRect(lept.PIX pix,
lept.BOX box,
FloatPointer prootvar) |
static int |
pixVarianceInRectangle(lept.PIX pixs,
lept.BOX box,
lept.PIX pix_ma,
lept.DPIX dpix_msa,
float[] pvar,
float[] prvar) |
static int |
pixVarianceInRectangle(lept.PIX pixs,
lept.BOX box,
lept.PIX pix_ma,
lept.DPIX dpix_msa,
FloatBuffer pvar,
FloatBuffer prvar) |
static int |
pixVarianceInRectangle(lept.PIX pixs,
lept.BOX box,
lept.PIX pix_ma,
lept.DPIX dpix_msa,
FloatPointer pvar,
FloatPointer prvar) |
static lept.PIX |
pixVarThresholdToBinary(lept.PIX pixs,
lept.PIX pixg) |
static lept.PIX |
pixVShear(lept.PIX pixd,
lept.PIX pixs,
int xloc,
float radang,
int incolor) |
static lept.PIX |
pixVShearCenter(lept.PIX pixd,
lept.PIX pixs,
float radang,
int incolor) |
static lept.PIX |
pixVShearCorner(lept.PIX pixd,
lept.PIX pixs,
float radang,
int incolor) |
static int |
pixVShearIP(lept.PIX pixs,
int xloc,
float radang,
int incolor) |
static lept.PIX |
pixVShearLI(lept.PIX pixs,
int xloc,
float radang,
int incolor) |
static lept.PIX |
pixWarpStereoscopic(lept.PIX pixs,
int zbend,
int zshiftt,
int zshiftb,
int ybendt,
int ybendb,
int redleft) |
static lept.PIX |
pixWindowedMean(lept.PIX pixs,
int wc,
int hc,
int hasborder,
int normflag) |
static lept.PIX |
pixWindowedMeanSquare(lept.PIX pixs,
int wc,
int hc,
int hasborder) |
static int |
pixWindowedStats(lept.PIX pixs,
int wc,
int hc,
int hasborder,
lept.PIX ppixm,
lept.PIX ppixms,
lept.FPIX pfpixv,
lept.FPIX pfpixrv) |
static int |
pixWindowedStats(lept.PIX pixs,
int wc,
int hc,
int hasborder,
PointerPointer ppixm,
PointerPointer ppixms,
PointerPointer pfpixv,
PointerPointer pfpixrv) |
static int |
pixWindowedVariance(lept.PIX pixm,
lept.PIX pixms,
lept.FPIX pfpixv,
lept.FPIX pfpixrv) |
static int |
pixWindowedVariance(lept.PIX pixm,
lept.PIX pixms,
PointerPointer pfpixv,
PointerPointer pfpixrv) |
static int |
pixWindowedVarianceOnLine(lept.PIX pixs,
int dir,
int loc,
int c1,
int c2,
int size,
lept.NUMA pnad) |
static int |
pixWindowedVarianceOnLine(lept.PIX pixs,
int dir,
int loc,
int c1,
int c2,
int size,
PointerPointer pnad) |
static int |
pixWordBoxesByDilation(lept.PIX pixs,
int maxdil,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
lept.BOXA pboxa,
int[] psize) |
static int |
pixWordBoxesByDilation(lept.PIX pixs,
int maxdil,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
lept.BOXA pboxa,
IntBuffer psize) |
static int |
pixWordBoxesByDilation(lept.PIX pixs,
int maxdil,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
lept.BOXA pboxa,
IntPointer psize) |
static int |
pixWordBoxesByDilation(lept.PIX pixs,
int maxdil,
int minwidth,
int minheight,
int maxwidth,
int maxheight,
PointerPointer pboxa,
IntPointer psize) |
static int |
pixWordMaskByDilation(lept.PIX pixs,
int maxdil,
lept.PIX ppixm,
int[] psize) |
static int |
pixWordMaskByDilation(lept.PIX pixs,
int maxdil,
lept.PIX ppixm,
IntBuffer psize) |
static int |
pixWordMaskByDilation(lept.PIX pixs,
int maxdil,
lept.PIX ppixm,
IntPointer psize) |
static int |
pixWordMaskByDilation(lept.PIX pixs,
int maxdil,
PointerPointer ppixm,
IntPointer psize) |
static int |
pixWrite(BytePointer filename,
lept.PIX pix,
int format) |
static int |
pixWrite(String filename,
lept.PIX pix,
int format) |
static int |
pixWriteImpliedFormat(BytePointer filename,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteImpliedFormat(String filename,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteJp2k(BytePointer filename,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteJp2k(String filename,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteJpeg(BytePointer filename,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteJpeg(String filename,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteMem(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int format) |
static int |
pixWriteMem(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
int format) |
static int |
pixWriteMem(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
int format) |
static int |
pixWriteMem(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
int format) |
static int |
pixWriteMemBmp(byte[] pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemBmp(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemBmp(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemBmp(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemGif(byte[] pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemGif(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemGif(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemGif(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemJp2k(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteMemJp2k(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteMemJp2k(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteMemJp2k(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteMemJpeg(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteMemJpeg(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteMemJpeg(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteMemJpeg(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int progressive) |
static int |
pixWriteMemPdf(byte[] pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
BytePointer title) |
static int |
pixWriteMemPdf(byte[] pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
String title) |
static int |
pixWriteMemPdf(ByteBuffer pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
BytePointer title) |
static int |
pixWriteMemPdf(ByteBuffer pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
String title) |
static int |
pixWriteMemPdf(BytePointer pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
BytePointer title) |
static int |
pixWriteMemPdf(BytePointer pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
String title) |
static int |
pixWriteMemPdf(PointerPointer pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
BytePointer title) |
static int |
pixWriteMemPng(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
float gamma) |
static int |
pixWriteMemPng(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
float gamma) |
static int |
pixWriteMemPng(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
float gamma) |
static int |
pixWriteMemPng(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
float gamma) |
static int |
pixWriteMemPnm(byte[] pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemPnm(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemPnm(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemPnm(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemPS(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
lept.BOX box,
int res,
float scale) |
static int |
pixWriteMemPS(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
lept.BOX box,
int res,
float scale) |
static int |
pixWriteMemPS(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
lept.BOX box,
int res,
float scale) |
static int |
pixWriteMemPS(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
lept.BOX box,
int res,
float scale) |
static int |
pixWriteMemSpix(byte[] pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemSpix(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemSpix(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemSpix(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix) |
static int |
pixWriteMemTiff(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype) |
static int |
pixWriteMemTiff(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype) |
static int |
pixWriteMemTiff(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype) |
static int |
pixWriteMemTiff(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype) |
static int |
pixWriteMemTiffCustom(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes) |
static int |
pixWriteMemTiffCustom(ByteBuffer pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes) |
static int |
pixWriteMemTiffCustom(BytePointer pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes) |
static int |
pixWriteMemTiffCustom(PointerPointer pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes) |
static int |
pixWriteMemWebP(byte[] pencdata,
SizeTPointer pencsize,
lept.PIX pixs,
int quality,
int lossless) |
static int |
pixWriteMemWebP(ByteBuffer pencdata,
SizeTPointer pencsize,
lept.PIX pixs,
int quality,
int lossless) |
static int |
pixWriteMemWebP(BytePointer pencdata,
SizeTPointer pencsize,
lept.PIX pixs,
int quality,
int lossless) |
static int |
pixWriteMemWebP(PointerPointer pencdata,
SizeTPointer pencsize,
lept.PIX pixs,
int quality,
int lossless) |
static int |
pixWriteMixedToPS(lept.PIX pixb,
lept.PIX pixc,
float scale,
int pageno,
BytePointer fileout) |
static int |
pixWriteMixedToPS(lept.PIX pixb,
lept.PIX pixc,
float scale,
int pageno,
String fileout) |
static int |
pixWritePng(BytePointer filename,
lept.PIX pix,
float gamma) |
static int |
pixWritePng(String filename,
lept.PIX pix,
float gamma) |
static int |
pixWritePSEmbed(BytePointer filein,
BytePointer fileout) |
static int |
pixWritePSEmbed(String filein,
String fileout) |
static int |
pixWriteSegmentedPageToPS(lept.PIX pixs,
lept.PIX pixm,
float textscale,
float imagescale,
int threshold,
int pageno,
BytePointer fileout) |
static int |
pixWriteSegmentedPageToPS(lept.PIX pixs,
lept.PIX pixm,
float textscale,
float imagescale,
int threshold,
int pageno,
String fileout) |
static int |
pixWriteStream(Pointer fp,
lept.PIX pix,
int format) |
static int |
pixWriteStreamAsciiPnm(Pointer fp,
lept.PIX pix) |
static int |
pixWriteStreamBmp(Pointer fp,
lept.PIX pix) |
static int |
pixWriteStreamGif(Pointer fp,
lept.PIX pix) |
static int |
pixWriteStreamJp2k(Pointer fp,
lept.PIX pix,
int quality,
int nlevels,
int hint) |
static int |
pixWriteStreamJpeg(Pointer fp,
lept.PIX pixs,
int quality,
int progressive) |
static int |
pixWriteStreamPdf(Pointer fp,
lept.PIX pix,
int res,
BytePointer title) |
static int |
pixWriteStreamPdf(Pointer fp,
lept.PIX pix,
int res,
String title) |
static int |
pixWriteStreamPng(Pointer fp,
lept.PIX pix,
float gamma) |
static int |
pixWriteStreamPnm(Pointer fp,
lept.PIX pix) |
static int |
pixWriteStreamPS(Pointer fp,
lept.PIX pix,
lept.BOX box,
int res,
float scale) |
static int |
pixWriteStreamSpix(Pointer fp,
lept.PIX pix) |
static int |
pixWriteStreamTiff(Pointer fp,
lept.PIX pix,
int comptype) |
static int |
pixWriteStreamWebP(Pointer fp,
lept.PIX pixs,
int quality,
int lossless) |
static BytePointer |
pixWriteStringPS(lept.PIX pixs,
lept.BOX box,
int res,
float scale) |
static int |
pixWriteTempfile(BytePointer dir,
BytePointer tail,
lept.PIX pix,
int format,
byte[] pfilename) |
static int |
pixWriteTempfile(BytePointer dir,
BytePointer tail,
lept.PIX pix,
int format,
ByteBuffer pfilename) |
static int |
pixWriteTempfile(BytePointer dir,
BytePointer tail,
lept.PIX pix,
int format,
BytePointer pfilename) |
static int |
pixWriteTempfile(BytePointer dir,
BytePointer tail,
lept.PIX pix,
int format,
PointerPointer pfilename) |
static int |
pixWriteTempfile(String dir,
String tail,
lept.PIX pix,
int format,
byte[] pfilename) |
static int |
pixWriteTempfile(String dir,
String tail,
lept.PIX pix,
int format,
ByteBuffer pfilename) |
static int |
pixWriteTempfile(String dir,
String tail,
lept.PIX pix,
int format,
BytePointer pfilename) |
static int |
pixWriteTiff(BytePointer filename,
lept.PIX pix,
int comptype,
BytePointer modestring) |
static int |
pixWriteTiff(String filename,
lept.PIX pix,
int comptype,
String modestring) |
static int |
pixWriteTiffCustom(BytePointer filename,
lept.PIX pix,
int comptype,
BytePointer modestring,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes) |
static int |
pixWriteTiffCustom(String filename,
lept.PIX pix,
int comptype,
String modestring,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes) |
static int |
pixWriteWebP(BytePointer filename,
lept.PIX pixs,
int quality,
int lossless) |
static int |
pixWriteWebP(String filename,
lept.PIX pixs,
int quality,
int lossless) |
static lept.PIX |
pixXor(lept.PIX pixd,
lept.PIX pixs1,
lept.PIX pixs2) |
static int |
pixZero(lept.PIX pix,
int[] pempty) |
static int |
pixZero(lept.PIX pix,
IntBuffer pempty) |
static int |
pixZero(lept.PIX pix,
IntPointer pempty) |
static int |
pmsCreate(long minsize,
long smallest,
lept.NUMA numalloc,
BytePointer logfile) |
static int |
pmsCreate(long minsize,
long smallest,
lept.NUMA numalloc,
String logfile) |
static Pointer |
pmsCustomAlloc(long nbytes) |
static void |
pmsCustomDealloc(Pointer data) |
static void |
pmsDestroy() |
static Pointer |
pmsGetAlloc(long nbytes) |
static int |
pmsGetLevelForAlloc(long nbytes,
int[] plevel) |
static int |
pmsGetLevelForAlloc(long nbytes,
IntBuffer plevel) |
static int |
pmsGetLevelForAlloc(long nbytes,
IntPointer plevel) |
static int |
pmsGetLevelForDealloc(Pointer data,
int[] plevel) |
static int |
pmsGetLevelForDealloc(Pointer data,
IntBuffer plevel) |
static int |
pmsGetLevelForDealloc(Pointer data,
IntPointer plevel) |
static void |
pmsLogInfo() |
static int |
projectiveXformPt(float[] vc,
int x,
int y,
float[] pxp,
float[] pyp) |
static int |
projectiveXformPt(FloatBuffer vc,
int x,
int y,
FloatBuffer pxp,
FloatBuffer pyp) |
static int |
projectiveXformPt(FloatPointer vc,
int x,
int y,
FloatPointer pxp,
FloatPointer pyp) |
static int |
projectiveXformSampledPt(float[] vc,
int x,
int y,
int[] pxp,
int[] pyp) |
static int |
projectiveXformSampledPt(FloatBuffer vc,
int x,
int y,
IntBuffer pxp,
IntBuffer pyp) |
static int |
projectiveXformSampledPt(FloatPointer vc,
int x,
int y,
IntPointer pxp,
IntPointer pyp) |
static int |
ptaaAddPt(lept.PTAA ptaa,
int ipta,
float x,
float y) |
static int |
ptaaAddPta(lept.PTAA ptaa,
lept.PTA pta,
int copyflag) |
static lept.PTAA |
ptaaCreate(int n) |
static int |
ptaAddPt(lept.PTA pta,
float x,
float y) |
static void |
ptaaDestroy(lept.PTAA pptaa) |
static void |
ptaaDestroy(PointerPointer pptaa) |
static lept.PTA |
ptaAffineTransform(lept.PTA ptas,
float[] mat) |
static lept.PTA |
ptaAffineTransform(lept.PTA ptas,
FloatBuffer mat) |
static lept.PTA |
ptaAffineTransform(lept.PTA ptas,
FloatPointer mat) |
static lept.PTAA |
ptaaGetBoundaryPixels(lept.PIX pixs,
int type,
int connectivity,
lept.BOXA pboxa,
lept.PIXA ppixa) |
static lept.PTAA |
ptaaGetBoundaryPixels(lept.PIX pixs,
int type,
int connectivity,
PointerPointer pboxa,
PointerPointer ppixa) |
static int |
ptaaGetCount(lept.PTAA ptaa) |
static int |
ptaaGetPt(lept.PTAA ptaa,
int ipta,
int jpt,
float[] px,
float[] py) |
static int |
ptaaGetPt(lept.PTAA ptaa,
int ipta,
int jpt,
FloatBuffer px,
FloatBuffer py) |
static int |
ptaaGetPt(lept.PTAA ptaa,
int ipta,
int jpt,
FloatPointer px,
FloatPointer py) |
static lept.PTA |
ptaaGetPta(lept.PTAA ptaa,
int index,
int accessflag) |
static int |
ptaaInitFull(lept.PTAA ptaa,
lept.PTA pta) |
static int |
ptaaJoin(lept.PTAA ptaad,
lept.PTAA ptaas,
int istart,
int iend) |
static lept.PTAA |
ptaaRead(BytePointer filename) |
static lept.PTAA |
ptaaRead(String filename) |
static lept.PTAA |
ptaaReadStream(Pointer fp) |
static int |
ptaaReplacePta(lept.PTAA ptaa,
int index,
lept.PTA pta) |
static lept.PTAA |
ptaaSortByIndex(lept.PTAA ptaas,
lept.NUMA naindex) |
static int |
ptaaTruncate(lept.PTAA ptaa) |
static int |
ptaaWrite(BytePointer filename,
lept.PTAA ptaa,
int type) |
static int |
ptaaWrite(String filename,
lept.PTAA ptaa,
int type) |
static int |
ptaaWriteStream(Pointer fp,
lept.PTAA ptaa,
int type) |
static int |
ptaChangeRefcount(lept.PTA pta,
int delta) |
static lept.PTA |
ptaClone(lept.PTA pta) |
static int |
ptaContainsPt(lept.PTA pta,
int x,
int y) |
static lept.BOXA |
ptaConvertToBoxa(lept.PTA pta,
int ncorners) |
static lept.PTA |
ptaCopy(lept.PTA pta) |
static lept.PTA |
ptaCopyRange(lept.PTA ptas,
int istart,
int iend) |
static lept.PTA |
ptaCreate(int n) |
static lept.PTA |
ptaCreateFromNuma(lept.NUMA nax,
lept.NUMA nay) |
static lept.PTA |
ptaCyclicPerm(lept.PTA ptas,
int xs,
int ys) |
static void |
ptaDestroy(lept.PTA ppta) |
static void |
ptaDestroy(PointerPointer ppta) |
static int |
ptaEmpty(lept.PTA pta) |
static int |
ptaGetArrays(lept.PTA pta,
lept.NUMA pnax,
lept.NUMA pnay) |
static int |
ptaGetArrays(lept.PTA pta,
PointerPointer pnax,
PointerPointer pnay) |
static lept.PTA |
ptaGetBoundaryPixels(lept.PIX pixs,
int type) |
static lept.BOX |
ptaGetBoundingRegion(lept.PTA pta) |
static int |
ptaGetCount(lept.PTA pta) |
static int |
ptaGetCubicLSF(lept.PTA pta,
float[] pa,
float[] pb,
float[] pc,
float[] pd,
lept.NUMA pnafit) |
static int |
ptaGetCubicLSF(lept.PTA pta,
FloatBuffer pa,
FloatBuffer pb,
FloatBuffer pc,
FloatBuffer pd,
lept.NUMA pnafit) |
static int |
ptaGetCubicLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
FloatPointer pd,
lept.NUMA pnafit) |
static int |
ptaGetCubicLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
FloatPointer pd,
PointerPointer pnafit) |
static lept.PTA |
ptaGetInsideBox(lept.PTA ptas,
lept.BOX box) |
static int |
ptaGetIPt(lept.PTA pta,
int index,
int[] px,
int[] py) |
static int |
ptaGetIPt(lept.PTA pta,
int index,
IntBuffer px,
IntBuffer py) |
static int |
ptaGetIPt(lept.PTA pta,
int index,
IntPointer px,
IntPointer py) |
static int |
ptaGetLinearLSF(lept.PTA pta,
float[] pa,
float[] pb,
lept.NUMA pnafit) |
static int |
ptaGetLinearLSF(lept.PTA pta,
FloatBuffer pa,
FloatBuffer pb,
lept.NUMA pnafit) |
static int |
ptaGetLinearLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
lept.NUMA pnafit) |
static int |
ptaGetLinearLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
PointerPointer pnafit) |
static lept.PTA |
ptaGetPixelsFromPix(lept.PIX pixs,
lept.BOX box) |
static int |
ptaGetPt(lept.PTA pta,
int index,
float[] px,
float[] py) |
static int |
ptaGetPt(lept.PTA pta,
int index,
FloatBuffer px,
FloatBuffer py) |
static int |
ptaGetPt(lept.PTA pta,
int index,
FloatPointer px,
FloatPointer py) |
static int |
ptaGetQuadraticLSF(lept.PTA pta,
float[] pa,
float[] pb,
float[] pc,
lept.NUMA pnafit) |
static int |
ptaGetQuadraticLSF(lept.PTA pta,
FloatBuffer pa,
FloatBuffer pb,
FloatBuffer pc,
lept.NUMA pnafit) |
static int |
ptaGetQuadraticLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
lept.NUMA pnafit) |
static int |
ptaGetQuadraticLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
PointerPointer pnafit) |
static int |
ptaGetQuarticLSF(lept.PTA pta,
float[] pa,
float[] pb,
float[] pc,
float[] pd,
float[] pe,
lept.NUMA pnafit) |
static int |
ptaGetQuarticLSF(lept.PTA pta,
FloatBuffer pa,
FloatBuffer pb,
FloatBuffer pc,
FloatBuffer pd,
FloatBuffer pe,
lept.NUMA pnafit) |
static int |
ptaGetQuarticLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
FloatPointer pd,
FloatPointer pe,
lept.NUMA pnafit) |
static int |
ptaGetQuarticLSF(lept.PTA pta,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
FloatPointer pd,
FloatPointer pe,
PointerPointer pnafit) |
static int |
ptaGetRange(lept.PTA pta,
float[] pminx,
float[] pmaxx,
float[] pminy,
float[] pmaxy) |
static int |
ptaGetRange(lept.PTA pta,
FloatBuffer pminx,
FloatBuffer pmaxx,
FloatBuffer pminy,
FloatBuffer pmaxy) |
static int |
ptaGetRange(lept.PTA pta,
FloatPointer pminx,
FloatPointer pmaxx,
FloatPointer pminy,
FloatPointer pmaxy) |
static int |
ptaGetRefcount(lept.PTA pta) |
static int |
ptaGetSortIndex(lept.PTA ptas,
int sorttype,
int sortorder,
lept.NUMA pnaindex) |
static int |
ptaGetSortIndex(lept.PTA ptas,
int sorttype,
int sortorder,
PointerPointer pnaindex) |
static int |
ptaInsertPt(lept.PTA pta,
int index,
int x,
int y) |
static int |
ptaJoin(lept.PTA ptad,
lept.PTA ptas,
int istart,
int iend) |
static int |
ptaNoisyLinearLSF(lept.PTA pta,
float factor,
lept.PTA pptad,
float[] pa,
float[] pb,
float[] pmederr,
lept.NUMA pnafit) |
static int |
ptaNoisyLinearLSF(lept.PTA pta,
float factor,
lept.PTA pptad,
FloatBuffer pa,
FloatBuffer pb,
FloatBuffer pmederr,
lept.NUMA pnafit) |
static int |
ptaNoisyLinearLSF(lept.PTA pta,
float factor,
lept.PTA pptad,
FloatPointer pa,
FloatPointer pb,
FloatPointer pmederr,
lept.NUMA pnafit) |
static int |
ptaNoisyLinearLSF(lept.PTA pta,
float factor,
PointerPointer pptad,
FloatPointer pa,
FloatPointer pb,
FloatPointer pmederr,
PointerPointer pnafit) |
static int |
ptaNoisyQuadraticLSF(lept.PTA pta,
float factor,
lept.PTA pptad,
float[] pa,
float[] pb,
float[] pc,
float[] pmederr,
lept.NUMA pnafit) |
static int |
ptaNoisyQuadraticLSF(lept.PTA pta,
float factor,
lept.PTA pptad,
FloatBuffer pa,
FloatBuffer pb,
FloatBuffer pc,
FloatBuffer pmederr,
lept.NUMA pnafit) |
static int |
ptaNoisyQuadraticLSF(lept.PTA pta,
float factor,
lept.PTA pptad,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
FloatPointer pmederr,
lept.NUMA pnafit) |
static int |
ptaNoisyQuadraticLSF(lept.PTA pta,
float factor,
PointerPointer pptad,
FloatPointer pa,
FloatPointer pb,
FloatPointer pc,
FloatPointer pmederr,
PointerPointer pnafit) |
static int |
ptaPtInsidePolygon(lept.PTA pta,
float x,
float y,
int[] pinside) |
static int |
ptaPtInsidePolygon(lept.PTA pta,
float x,
float y,
IntBuffer pinside) |
static int |
ptaPtInsidePolygon(lept.PTA pta,
float x,
float y,
IntPointer pinside) |
static lept.PTA |
ptaRead(BytePointer filename) |
static lept.PTA |
ptaRead(String filename) |
static lept.PTA |
ptaReadStream(Pointer fp) |
static lept.PTA |
ptaRemoveDuplicates(lept.PTA ptas,
int factor) |
static int |
ptaRemovePt(lept.PTA pta,
int index) |
static lept.PTA |
ptaReplicatePattern(lept.PTA ptas,
lept.PIX pixp,
lept.PTA ptap,
int cx,
int cy,
int w,
int h) |
static lept.PTA |
ptaReverse(lept.PTA ptas,
int type) |
static lept.PTA |
ptaRotate(lept.PTA ptas,
float xc,
float yc,
float angle) |
static lept.PTA |
ptaScale(lept.PTA ptas,
float scalex,
float scaley) |
static int |
ptaSetPt(lept.PTA pta,
int index,
float x,
float y) |
static lept.PTA |
ptaSort(lept.PTA ptas,
int sorttype,
int sortorder,
lept.NUMA pnaindex) |
static lept.PTA |
ptaSort(lept.PTA ptas,
int sorttype,
int sortorder,
PointerPointer pnaindex) |
static lept.PTA |
ptaSortByIndex(lept.PTA ptas,
lept.NUMA naindex) |
static lept.PTA |
ptaSubsample(lept.PTA ptas,
int subfactor) |
static int |
ptaTestIntersection(lept.PTA pta1,
lept.PTA pta2) |
static lept.PTA |
ptaTransform(lept.PTA ptas,
int shiftx,
int shifty,
float scalex,
float scaley) |
static lept.PTA |
ptaTranslate(lept.PTA ptas,
float transx,
float transy) |
static lept.PTA |
ptaTranspose(lept.PTA ptas) |
static int |
ptaWrite(BytePointer filename,
lept.PTA pta,
int type) |
static int |
ptaWrite(String filename,
lept.PTA pta,
int type) |
static int |
ptaWriteStream(Pointer fp,
lept.PTA pta,
int type) |
static lept.L_PTRAA |
ptraaCreate(int n) |
static int |
ptraAdd(lept.L_PTRA pa,
Pointer item) |
static void |
ptraaDestroy(lept.L_PTRAA ppaa,
int freeflag,
int warnflag) |
static void |
ptraaDestroy(PointerPointer ppaa,
int freeflag,
int warnflag) |
static lept.L_PTRA |
ptraaFlattenToPtra(lept.L_PTRAA paa) |
static lept.L_PTRA |
ptraaGetPtra(lept.L_PTRAA paa,
int index,
int accessflag) |
static int |
ptraaGetSize(lept.L_PTRAA paa,
int[] psize) |
static int |
ptraaGetSize(lept.L_PTRAA paa,
IntBuffer psize) |
static int |
ptraaGetSize(lept.L_PTRAA paa,
IntPointer psize) |
static int |
ptraaInsertPtra(lept.L_PTRAA paa,
int index,
lept.L_PTRA pa) |
static int |
ptraCompactArray(lept.L_PTRA pa) |
static int |
ptraConcatenatePdf(lept.L_PTRA pa,
BytePointer fileout) |
static int |
ptraConcatenatePdf(lept.L_PTRA pa,
String fileout) |
static int |
ptraConcatenatePdfToData(lept.L_PTRA pa_data,
lept.SARRAY sa,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
ptraConcatenatePdfToData(lept.L_PTRA pa_data,
lept.SARRAY sa,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
ptraConcatenatePdfToData(lept.L_PTRA pa_data,
lept.SARRAY sa,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
ptraConcatenatePdfToData(lept.L_PTRA pa_data,
lept.SARRAY sa,
PointerPointer pdata,
SizeTPointer pnbytes) |
static lept.L_PTRA |
ptraCreate(int n) |
static void |
ptraDestroy(lept.L_PTRA ppa,
int freeflag,
int warnflag) |
static void |
ptraDestroy(PointerPointer ppa,
int freeflag,
int warnflag) |
static int |
ptraGetActualCount(lept.L_PTRA pa,
int[] pcount) |
static int |
ptraGetActualCount(lept.L_PTRA pa,
IntBuffer pcount) |
static int |
ptraGetActualCount(lept.L_PTRA pa,
IntPointer pcount) |
static int |
ptraGetMaxIndex(lept.L_PTRA pa,
int[] pmaxindex) |
static int |
ptraGetMaxIndex(lept.L_PTRA pa,
IntBuffer pmaxindex) |
static int |
ptraGetMaxIndex(lept.L_PTRA pa,
IntPointer pmaxindex) |
static Pointer |
ptraGetPtrToItem(lept.L_PTRA pa,
int index) |
static int |
ptraInsert(lept.L_PTRA pa,
int index,
Pointer item,
int shiftflag) |
static int |
ptraJoin(lept.L_PTRA pa1,
lept.L_PTRA pa2) |
static Pointer |
ptraRemove(lept.L_PTRA pa,
int index,
int flag) |
static Pointer |
ptraRemoveLast(lept.L_PTRA pa) |
static Pointer |
ptraReplace(lept.L_PTRA pa,
int index,
Pointer item,
int freeflag) |
static int |
ptraReverse(lept.L_PTRA pa) |
static int |
ptraSwap(lept.L_PTRA pa,
int index1,
int index2) |
static int |
quadtreeGetChildren(lept.FPIXA fpixa,
int level,
int x,
int y,
float[] pval00,
float[] pval10,
float[] pval01,
float[] pval11) |
static int |
quadtreeGetChildren(lept.FPIXA fpixa,
int level,
int x,
int y,
FloatBuffer pval00,
FloatBuffer pval10,
FloatBuffer pval01,
FloatBuffer pval11) |
static int |
quadtreeGetChildren(lept.FPIXA fpixa,
int level,
int x,
int y,
FloatPointer pval00,
FloatPointer pval10,
FloatPointer pval01,
FloatPointer pval11) |
static int |
quadtreeGetParent(lept.FPIXA fpixa,
int level,
int x,
int y,
float[] pval) |
static int |
quadtreeGetParent(lept.FPIXA fpixa,
int level,
int x,
int y,
FloatBuffer pval) |
static int |
quadtreeGetParent(lept.FPIXA fpixa,
int level,
int x,
int y,
FloatPointer pval) |
static int |
quadtreeMaxLevels(int w,
int h) |
static void |
rasteropHipLow(int[] data,
int pixh,
int depth,
int wpl,
int y,
int h,
int shift) |
static void |
rasteropHipLow(IntBuffer data,
int pixh,
int depth,
int wpl,
int y,
int h,
int shift) |
static void |
rasteropHipLow(IntPointer data,
int pixh,
int depth,
int wpl,
int y,
int h,
int shift) |
static void |
rasteropLow(int[] datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op,
int[] datas,
int spixw,
int spixh,
int swpl,
int sx,
int sy) |
static void |
rasteropLow(IntBuffer datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op,
IntBuffer datas,
int spixw,
int spixh,
int swpl,
int sx,
int sy) |
static void |
rasteropLow(IntPointer datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op,
IntPointer datas,
int spixw,
int spixh,
int swpl,
int sx,
int sy) |
static void |
rasteropUniLow(int[] datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op) |
static void |
rasteropUniLow(IntBuffer datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op) |
static void |
rasteropUniLow(IntPointer datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op) |
static void |
rasteropVipLow(int[] data,
int pixw,
int pixh,
int depth,
int wpl,
int x,
int w,
int shift) |
static void |
rasteropVipLow(IntBuffer data,
int pixw,
int pixh,
int depth,
int wpl,
int x,
int w,
int shift) |
static void |
rasteropVipLow(IntPointer data,
int pixw,
int pixh,
int depth,
int wpl,
int x,
int w,
int shift) |
static void |
rchaDestroy(lept.L_RCHA prcha) |
static void |
rchaDestroy(PointerPointer prcha) |
static int |
rchaExtract(lept.L_RCHA rcha,
lept.NUMA pnaindex,
lept.NUMA pnascore,
lept.SARRAY psatext,
lept.NUMA pnasample,
lept.NUMA pnaxloc,
lept.NUMA pnayloc,
lept.NUMA pnawidth) |
static int |
rchaExtract(lept.L_RCHA rcha,
PointerPointer pnaindex,
PointerPointer pnascore,
PointerPointer psatext,
PointerPointer pnasample,
PointerPointer pnaxloc,
PointerPointer pnayloc,
PointerPointer pnawidth) |
static void |
rchDestroy(lept.L_RCH prch) |
static void |
rchDestroy(PointerPointer prch) |
static int |
rchExtract(lept.L_RCH rch,
int[] pindex,
float[] pscore,
byte[] ptext,
int[] psample,
int[] pxloc,
int[] pyloc,
int[] pwidth) |
static int |
rchExtract(lept.L_RCH rch,
IntBuffer pindex,
FloatBuffer pscore,
ByteBuffer ptext,
IntBuffer psample,
IntBuffer pxloc,
IntBuffer pyloc,
IntBuffer pwidth) |
static int |
rchExtract(lept.L_RCH rch,
IntPointer pindex,
FloatPointer pscore,
BytePointer ptext,
IntPointer psample,
IntPointer pxloc,
IntPointer pyloc,
IntPointer pwidth) |
static int |
rchExtract(lept.L_RCH rch,
IntPointer pindex,
FloatPointer pscore,
PointerPointer ptext,
IntPointer psample,
IntPointer pxloc,
IntPointer pyloc,
IntPointer pwidth) |
static int |
readHeaderJp2k(BytePointer filename,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp) |
static int |
readHeaderJp2k(BytePointer filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp) |
static int |
readHeaderJp2k(BytePointer filename,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp) |
static int |
readHeaderJp2k(String filename,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp) |
static int |
readHeaderJp2k(String filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp) |
static int |
readHeaderJp2k(String filename,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp) |
static int |
readHeaderJpeg(BytePointer filename,
int[] pw,
int[] ph,
int[] pspp,
int[] pycck,
int[] pcmyk) |
static int |
readHeaderJpeg(BytePointer filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp,
IntBuffer pycck,
IntBuffer pcmyk) |
static int |
readHeaderJpeg(BytePointer filename,
IntPointer pw,
IntPointer ph,
IntPointer pspp,
IntPointer pycck,
IntPointer pcmyk) |
static int |
readHeaderJpeg(String filename,
int[] pw,
int[] ph,
int[] pspp,
int[] pycck,
int[] pcmyk) |
static int |
readHeaderJpeg(String filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp,
IntBuffer pycck,
IntBuffer pcmyk) |
static int |
readHeaderJpeg(String filename,
IntPointer pw,
IntPointer ph,
IntPointer pspp,
IntPointer pycck,
IntPointer pcmyk) |
static int |
readHeaderMemJp2k(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp) |
static int |
readHeaderMemJp2k(ByteBuffer data,
long size,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp) |
static int |
readHeaderMemJp2k(BytePointer data,
long size,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp) |
static int |
readHeaderMemJpeg(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pspp,
int[] pycck,
int[] pcmyk) |
static int |
readHeaderMemJpeg(ByteBuffer data,
long size,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp,
IntBuffer pycck,
IntBuffer pcmyk) |
static int |
readHeaderMemJpeg(BytePointer data,
long size,
IntPointer pw,
IntPointer ph,
IntPointer pspp,
IntPointer pycck,
IntPointer pcmyk) |
static int |
readHeaderMemPng(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
readHeaderMemPng(ByteBuffer data,
long size,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
readHeaderMemPng(BytePointer data,
long size,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
readHeaderMemPnm(byte[] cdata,
long size,
int[] pw,
int[] ph,
int[] pd,
int[] ptype,
int[] pbps,
int[] pspp) |
static int |
readHeaderMemPnm(ByteBuffer cdata,
long size,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd,
IntBuffer ptype,
IntBuffer pbps,
IntBuffer pspp) |
static int |
readHeaderMemPnm(BytePointer cdata,
long size,
IntPointer pw,
IntPointer ph,
IntPointer pd,
IntPointer ptype,
IntPointer pbps,
IntPointer pspp) |
static int |
readHeaderMemTiff(byte[] cdata,
long size,
int n,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] pres,
int[] pcmap,
int[] pformat) |
static int |
readHeaderMemTiff(ByteBuffer cdata,
long size,
int n,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer pres,
IntBuffer pcmap,
IntBuffer pformat) |
static int |
readHeaderMemTiff(BytePointer cdata,
long size,
int n,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer pres,
IntPointer pcmap,
IntPointer pformat) |
static int |
readHeaderMemWebP(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pspp) |
static int |
readHeaderMemWebP(ByteBuffer data,
long size,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp) |
static int |
readHeaderMemWebP(BytePointer data,
long size,
IntPointer pw,
IntPointer ph,
IntPointer pspp) |
static int |
readHeaderPng(BytePointer filename,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
readHeaderPng(BytePointer filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
readHeaderPng(BytePointer filename,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
readHeaderPng(String filename,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
readHeaderPng(String filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
readHeaderPng(String filename,
IntPointer pw,
IntPointer ph,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
readHeaderPnm(BytePointer filename,
int[] pw,
int[] ph,
int[] pd,
int[] ptype,
int[] pbps,
int[] pspp) |
static int |
readHeaderPnm(BytePointer filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd,
IntBuffer ptype,
IntBuffer pbps,
IntBuffer pspp) |
static int |
readHeaderPnm(BytePointer filename,
IntPointer pw,
IntPointer ph,
IntPointer pd,
IntPointer ptype,
IntPointer pbps,
IntPointer pspp) |
static int |
readHeaderPnm(String filename,
int[] pw,
int[] ph,
int[] pd,
int[] ptype,
int[] pbps,
int[] pspp) |
static int |
readHeaderPnm(String filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pd,
IntBuffer ptype,
IntBuffer pbps,
IntBuffer pspp) |
static int |
readHeaderPnm(String filename,
IntPointer pw,
IntPointer ph,
IntPointer pd,
IntPointer ptype,
IntPointer pbps,
IntPointer pspp) |
static int |
readHeaderSpix(BytePointer filename,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
readHeaderSpix(BytePointer filename,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
readHeaderSpix(BytePointer filename,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
readHeaderSpix(String filename,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
readHeaderSpix(String filename,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
readHeaderSpix(String filename,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static int |
readHeaderTiff(BytePointer filename,
int n,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] pres,
int[] pcmap,
int[] pformat) |
static int |
readHeaderTiff(BytePointer filename,
int n,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer pres,
IntBuffer pcmap,
IntBuffer pformat) |
static int |
readHeaderTiff(BytePointer filename,
int n,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer pres,
IntPointer pcmap,
IntPointer pformat) |
static int |
readHeaderTiff(String filename,
int n,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] pres,
int[] pcmap,
int[] pformat) |
static int |
readHeaderTiff(String filename,
int n,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer pres,
IntBuffer pcmap,
IntBuffer pformat) |
static int |
readHeaderTiff(String filename,
int n,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer pres,
IntPointer pcmap,
IntPointer pformat) |
static int |
readHeaderWebP(BytePointer filename,
int[] pw,
int[] ph,
int[] pspp) |
static int |
readHeaderWebP(BytePointer filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp) |
static int |
readHeaderWebP(BytePointer filename,
IntPointer pw,
IntPointer ph,
IntPointer pspp) |
static int |
readHeaderWebP(String filename,
int[] pw,
int[] ph,
int[] pspp) |
static int |
readHeaderWebP(String filename,
IntBuffer pw,
IntBuffer ph,
IntBuffer pspp) |
static int |
readHeaderWebP(String filename,
IntPointer pw,
IntPointer ph,
IntPointer pspp) |
static Pointer |
reallocNew(Pointer pindata,
int oldsize,
int newsize) |
static Pointer |
reallocNew(PointerPointer pindata,
int oldsize,
int newsize) |
static int |
recogaAddRecog(lept.L_RECOGA recoga,
lept.L_RECOG recog) |
static lept.L_RECOGA |
recogaCreate(int n) |
static lept.L_RECOGA |
recogaCreateFromPixaa(lept.PIXAA paa,
int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
BytePointer fontdir) |
static lept.L_RECOGA |
recogaCreateFromPixaa(lept.PIXAA paa,
int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
String fontdir) |
static lept.L_RECOGA |
recogaCreateFromRecog(lept.L_RECOG recog) |
static int |
recogAddSamples(lept.L_RECOG recog,
lept.PIXA pixa,
int classindex,
int debug) |
static void |
recogaDestroy(lept.L_RECOGA precoga) |
static void |
recogaDestroy(PointerPointer precoga) |
static lept.SARRAY |
recogaExtractNumbers(lept.L_RECOGA recoga,
lept.BOXA boxas,
float scorethresh,
int spacethresh,
lept.BOXAA pbaa,
lept.NUMAA pnaa) |
static lept.SARRAY |
recogaExtractNumbers(lept.L_RECOGA recoga,
lept.BOXA boxas,
float scorethresh,
int spacethresh,
PointerPointer pbaa,
PointerPointer pnaa) |
static int |
recogaFinishAveraging(lept.L_RECOGA recoga) |
static int |
recogaGetCount(lept.L_RECOGA recoga) |
static lept.L_RECOG |
recogaGetRecog(lept.L_RECOGA recoga,
int index) |
static int |
recogaIdentifyMultiple(lept.L_RECOGA recoga,
lept.PIX pixs,
int nitems,
int minw,
int minh,
lept.BOXA pboxa,
lept.PIXA ppixa,
lept.PIX ppixdb,
int debugsplit) |
static int |
recogaIdentifyMultiple(lept.L_RECOGA recoga,
lept.PIX pixs,
int nitems,
int minw,
int minh,
PointerPointer pboxa,
PointerPointer ppixa,
PointerPointer ppixdb,
int debugsplit) |
static int |
recogaIdentifyPixa(lept.L_RECOGA recoga,
lept.PIXA pixa,
lept.NUMA naid,
lept.PIX ppixdb) |
static int |
recogaIdentifyPixa(lept.L_RECOGA recoga,
lept.PIXA pixa,
lept.NUMA naid,
PointerPointer ppixdb) |
static int |
recogAppend(lept.L_RECOG recog1,
lept.L_RECOG recog2) |
static lept.L_RECOGA |
recogaRead(BytePointer filename) |
static lept.L_RECOGA |
recogaRead(String filename) |
static lept.L_RECOGA |
recogaReadStream(Pointer fp) |
static int |
recogaShowContent(Pointer fp,
lept.L_RECOGA recoga,
int display) |
static int |
recogaTrainingDone(lept.L_RECOGA recoga,
int[] pdone) |
static int |
recogaTrainingDone(lept.L_RECOGA recoga,
IntBuffer pdone) |
static int |
recogaTrainingDone(lept.L_RECOGA recoga,
IntPointer pdone) |
static int |
recogAverageSamples(lept.L_RECOG recog,
int debug) |
static int |
recogaWrite(BytePointer filename,
lept.L_RECOGA recoga) |
static int |
recogaWrite(String filename,
lept.L_RECOGA recoga) |
static int |
recogaWritePixaa(BytePointer filename,
lept.L_RECOGA recoga) |
static int |
recogaWritePixaa(String filename,
lept.L_RECOGA recoga) |
static int |
recogaWriteStream(Pointer fp,
lept.L_RECOGA recoga,
BytePointer filename) |
static int |
recogaWriteStream(Pointer fp,
lept.L_RECOGA recoga,
String filename) |
static int |
recogBestCorrelForPadding(lept.L_RECOG recog,
lept.L_RECOGA recoga,
lept.NUMA pnaset,
lept.NUMA pnaindex,
lept.NUMA pnascore,
lept.NUMA pnasum,
lept.PIXA ppixadb) |
static int |
recogBestCorrelForPadding(lept.L_RECOG recog,
lept.L_RECOGA recoga,
PointerPointer pnaset,
PointerPointer pnaindex,
PointerPointer pnascore,
PointerPointer pnasum,
PointerPointer ppixadb) |
static int |
recogCorrelationBestChar(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX pbox,
float[] pscore,
int[] pindex,
byte[] pcharstr,
lept.PIX ppixdb) |
static int |
recogCorrelationBestChar(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX pbox,
FloatBuffer pscore,
IntBuffer pindex,
ByteBuffer pcharstr,
lept.PIX ppixdb) |
static int |
recogCorrelationBestChar(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX pbox,
FloatPointer pscore,
IntPointer pindex,
BytePointer pcharstr,
lept.PIX ppixdb) |
static int |
recogCorrelationBestChar(lept.L_RECOG recog,
lept.PIX pixs,
PointerPointer pbox,
FloatPointer pscore,
IntPointer pindex,
PointerPointer pcharstr,
PointerPointer ppixdb) |
static int |
recogCorrelationBestRow(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOXA pboxa,
lept.NUMA pnascore,
lept.NUMA pnaindex,
lept.SARRAY psachar,
int debug) |
static int |
recogCorrelationBestRow(lept.L_RECOG recog,
lept.PIX pixs,
PointerPointer pboxa,
PointerPointer pnascore,
PointerPointer pnaindex,
PointerPointer psachar,
int debug) |
static int |
recogCorrelAverages(lept.L_RECOG recog1,
lept.L_RECOG recog2,
lept.NUMA pnaindex,
lept.NUMA pnascore,
lept.PIXA ppixadb) |
static int |
recogCorrelAverages(lept.L_RECOG recog1,
lept.L_RECOG recog2,
PointerPointer pnaindex,
PointerPointer pnascore,
PointerPointer ppixadb) |
static lept.L_RECOG |
recogCreate(int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
BytePointer fontdir) |
static lept.L_RECOG |
recogCreate(int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
String fontdir) |
static int |
recogCreateDid(lept.L_RECOG recog,
lept.PIX pixs) |
static lept.L_RECOG |
recogCreateFromPixa(lept.PIXA pixa,
int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
BytePointer fontdir) |
static lept.L_RECOG |
recogCreateFromPixa(lept.PIXA pixa,
int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
String fontdir) |
static lept.L_RECOG |
recogCreateFromRecog(lept.L_RECOG recs,
int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
BytePointer fontdir) |
static lept.L_RECOG |
recogCreateFromRecog(lept.L_RECOG recs,
int scalew,
int scaleh,
int templ_type,
int threshold,
int maxyshift,
String fontdir) |
static int |
recogDebugAverages(lept.L_RECOG recog,
int debug) |
static int |
recogDecode(lept.L_RECOG recog,
lept.PIX pixs,
int nlevels,
lept.PIX ppixdb) |
static int |
recogDecode(lept.L_RECOG recog,
lept.PIX pixs,
int nlevels,
PointerPointer ppixdb) |
static void |
recogDestroy(lept.L_RECOG precog) |
static void |
recogDestroy(PointerPointer precog) |
static int |
recogDestroyDid(lept.L_RECOG recog) |
static int |
recogDidExists(lept.L_RECOG recog) |
static int |
recogGetClassIndex(lept.L_RECOG recog,
int val,
byte[] text,
int[] pindex) |
static int |
recogGetClassIndex(lept.L_RECOG recog,
int val,
ByteBuffer text,
IntBuffer pindex) |
static int |
recogGetClassIndex(lept.L_RECOG recog,
int val,
BytePointer text,
IntPointer pindex) |
static int |
recogGetClassString(lept.L_RECOG recog,
int index,
byte[] pcharstr) |
static int |
recogGetClassString(lept.L_RECOG recog,
int index,
ByteBuffer pcharstr) |
static int |
recogGetClassString(lept.L_RECOG recog,
int index,
BytePointer pcharstr) |
static int |
recogGetClassString(lept.L_RECOG recog,
int index,
PointerPointer pcharstr) |
static int |
recogGetCount(lept.L_RECOG recog) |
static lept.L_RDID |
recogGetDid(lept.L_RECOG recog) |
static int |
recogGetIndex(lept.L_RECOG recog,
int[] pindex) |
static int |
recogGetIndex(lept.L_RECOG recog,
IntBuffer pindex) |
static int |
recogGetIndex(lept.L_RECOG recog,
IntPointer pindex) |
static lept.L_RECOGA |
recogGetParent(lept.L_RECOG recog) |
static int |
recogIdentifyPix(lept.L_RECOG recog,
lept.PIX pixs,
lept.PIX ppixdb) |
static int |
recogIdentifyPix(lept.L_RECOG recog,
lept.PIX pixs,
PointerPointer ppixdb) |
static int |
recogIdentifyPixa(lept.L_RECOG recog,
lept.PIXA pixa,
lept.NUMA naid,
lept.PIX ppixdb) |
static int |
recogIdentifyPixa(lept.L_RECOG recog,
lept.PIXA pixa,
lept.NUMA naid,
PointerPointer ppixdb) |
static int |
recogMakeBmf(lept.L_RECOG recog,
BytePointer fontdir,
int size) |
static int |
recogMakeBmf(lept.L_RECOG recog,
String fontdir,
int size) |
static int |
recogMakeDecodingArrays(lept.L_RECOG recog,
lept.PIX pixs,
int debug) |
static int |
recogPadTrainingSet(lept.L_RECOG precog,
int debug) |
static int |
recogPadTrainingSet(PointerPointer precog,
int debug) |
static lept.PIX |
recogPreSplittingFilter(lept.L_RECOG recog,
lept.PIX pixs,
float maxasp,
float minaf,
float maxaf,
int debug) |
static int |
recogProcessMultLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
byte[] text,
lept.PIXA ppixa,
int debug) |
static int |
recogProcessMultLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
ByteBuffer text,
lept.PIXA ppixa,
int debug) |
static int |
recogProcessMultLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
BytePointer text,
lept.PIXA ppixa,
int debug) |
static int |
recogProcessMultLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
BytePointer text,
PointerPointer ppixa,
int debug) |
static int |
recogProcessSingleLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
byte[] text,
lept.PIXA ppixa) |
static int |
recogProcessSingleLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
ByteBuffer text,
lept.PIXA ppixa) |
static int |
recogProcessSingleLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
BytePointer text,
lept.PIXA ppixa) |
static int |
recogProcessSingleLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
BytePointer text,
PointerPointer ppixa) |
static lept.PIX |
recogProcessToIdentify(lept.L_RECOG recog,
lept.PIX pixs,
int pad) |
static lept.L_RECOG |
recogRead(BytePointer filename) |
static lept.L_RECOG |
recogRead(String filename) |
static lept.L_RECOG |
recogReadStream(Pointer fp) |
static int |
recogRemoveOutliers(lept.L_RECOG recog,
float targetscore,
float minfract,
int debug) |
static int |
recogReplaceInRecoga(lept.L_RECOG precog1,
lept.L_RECOG recog2) |
static int |
recogReplaceInRecoga(PointerPointer precog1,
lept.L_RECOG recog2) |
static int |
recogRunViterbi(lept.L_RECOG recog,
lept.PIX ppixdb) |
static int |
recogRunViterbi(lept.L_RECOG recog,
PointerPointer ppixdb) |
static lept.PIX |
recogScaleCharacter(lept.L_RECOG recog,
lept.PIX pixs) |
static int |
recogSetBootflag(lept.L_RECOG recog) |
static int |
recogSetChannelParams(lept.L_RECOG recog,
int nlevels) |
static int |
recogSetPadParams(lept.L_RECOG recog,
BytePointer bootdir,
BytePointer bootpattern,
BytePointer bootpath,
int type,
int min_nopad,
int max_afterpad) |
static int |
recogSetPadParams(lept.L_RECOG recog,
String bootdir,
String bootpattern,
String bootpath,
int type,
int min_nopad,
int max_afterpad) |
static int |
recogSetScaling(lept.L_RECOG recog,
int scalew,
int scaleh) |
static int |
recogSetTemplateType(lept.L_RECOG recog,
int templ_type) |
static int |
recogShowAverageTemplates(lept.L_RECOG recog) |
static int |
recogShowContent(Pointer fp,
lept.L_RECOG recog,
int display) |
static lept.PIX |
recogShowMatch(lept.L_RECOG recog,
lept.PIX pix1,
lept.PIX pix2,
lept.BOX box,
int index,
float score) |
static int |
recogShowMatchesInRange(lept.L_RECOG recog,
lept.PIXA pixa,
float minscore,
float maxscore,
int display) |
static int |
recogSkipIdentify(lept.L_RECOG recog) |
static int |
recogSplitIntoCharacters(lept.L_RECOG recog,
lept.PIX pixs,
int minw,
int minh,
lept.BOXA pboxa,
lept.PIXA ppixa,
lept.NUMA pnaid,
int debug) |
static int |
recogSplitIntoCharacters(lept.L_RECOG recog,
lept.PIX pixs,
int minw,
int minh,
PointerPointer pboxa,
PointerPointer ppixa,
PointerPointer pnaid,
int debug) |
static int |
recogSplittingFilter(lept.L_RECOG recog,
lept.PIX pixs,
float maxasp,
float minaf,
float maxaf,
int[] premove,
int debug) |
static int |
recogSplittingFilter(lept.L_RECOG recog,
lept.PIX pixs,
float maxasp,
float minaf,
float maxaf,
IntBuffer premove,
int debug) |
static int |
recogSplittingFilter(lept.L_RECOG recog,
lept.PIX pixs,
float maxasp,
float minaf,
float maxaf,
IntPointer premove,
int debug) |
static int |
recogStringToIndex(lept.L_RECOG recog,
byte[] text,
int[] pindex) |
static int |
recogStringToIndex(lept.L_RECOG recog,
ByteBuffer text,
IntBuffer pindex) |
static int |
recogStringToIndex(lept.L_RECOG recog,
BytePointer text,
IntPointer pindex) |
static int |
recogTrainingFinished(lept.L_RECOG recog,
int debug) |
static int |
recogTrainLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
byte[] text,
int multflag,
int debug) |
static int |
recogTrainLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
ByteBuffer text,
int multflag,
int debug) |
static int |
recogTrainLabelled(lept.L_RECOG recog,
lept.PIX pixs,
lept.BOX box,
BytePointer text,
int multflag,
int debug) |
static int |
recogTrainUnlabelled(lept.L_RECOG recog,
lept.L_RECOG recogboot,
lept.PIX pixs,
lept.BOX box,
int singlechar,
float minscore,
int debug) |
static int |
recogWrite(BytePointer filename,
lept.L_RECOG recog) |
static int |
recogWrite(String filename,
lept.L_RECOG recog) |
static int |
recogWritePixa(BytePointer filename,
lept.L_RECOG recog) |
static int |
recogWritePixa(String filename,
lept.L_RECOG recog) |
static int |
recogWriteStream(Pointer fp,
lept.L_RECOG recog,
BytePointer filename) |
static int |
recogWriteStream(Pointer fp,
lept.L_RECOG recog,
String filename) |
static int |
regTestCheckFile(lept.L_REGPARAMS rp,
BytePointer localname) |
static int |
regTestCheckFile(lept.L_REGPARAMS rp,
String localname) |
static int |
regTestCleanup(lept.L_REGPARAMS rp) |
static int |
regTestCompareFiles(lept.L_REGPARAMS rp,
int index1,
int index2) |
static int |
regTestComparePix(lept.L_REGPARAMS rp,
lept.PIX pix1,
lept.PIX pix2) |
static int |
regTestCompareSimilarPix(lept.L_REGPARAMS rp,
lept.PIX pix1,
lept.PIX pix2,
int mindiff,
float maxfract,
int printstats) |
static int |
regTestCompareStrings(lept.L_REGPARAMS rp,
byte[] string1,
long bytes1,
byte[] string2,
long bytes2) |
static int |
regTestCompareStrings(lept.L_REGPARAMS rp,
ByteBuffer string1,
long bytes1,
ByteBuffer string2,
long bytes2) |
static int |
regTestCompareStrings(lept.L_REGPARAMS rp,
BytePointer string1,
long bytes1,
BytePointer string2,
long bytes2) |
static int |
regTestCompareValues(lept.L_REGPARAMS rp,
float val1,
float val2,
float delta) |
static int |
regTestSetup(int argc,
byte[] argv,
lept.L_REGPARAMS prp) |
static int |
regTestSetup(int argc,
ByteBuffer argv,
lept.L_REGPARAMS prp) |
static int |
regTestSetup(int argc,
BytePointer argv,
lept.L_REGPARAMS prp) |
static int |
regTestSetup(int argc,
PointerPointer argv,
PointerPointer prp) |
static int |
regTestWritePixAndCheck(lept.L_REGPARAMS rp,
lept.PIX pix,
int format) |
static void |
resetMorphBoundaryCondition(int bc) |
static float |
returnErrorFloat(BytePointer msg,
BytePointer procname,
float fval) |
static float |
returnErrorFloat(String msg,
String procname,
float fval) |
static int |
returnErrorInt(BytePointer msg,
BytePointer procname,
int ival) |
static int |
returnErrorInt(String msg,
String procname,
int ival) |
static Pointer |
returnErrorPtr(BytePointer msg,
BytePointer procname,
Pointer pval) |
static Pointer |
returnErrorPtr(String msg,
String procname,
Pointer pval) |
static void |
rotateAMColorCornerLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorCornerLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorCornerLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorFastLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorFastLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorFastLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMColorLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
float angle,
int colorval) |
static void |
rotateAMGrayCornerLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
byte grayval) |
static void |
rotateAMGrayCornerLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
float angle,
byte grayval) |
static void |
rotateAMGrayCornerLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
float angle,
byte grayval) |
static void |
rotateAMGrayLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
byte grayval) |
static void |
rotateAMGrayLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int wpls,
float angle,
byte grayval) |
static void |
rotateAMGrayLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int wpls,
float angle,
byte grayval) |
static int |
runlengthMembershipOnLine(int[] buffer,
int size,
int depth,
int[] start,
int[] end,
int n) |
static int |
runlengthMembershipOnLine(IntBuffer buffer,
int size,
int depth,
IntBuffer start,
IntBuffer end,
int n) |
static int |
runlengthMembershipOnLine(IntPointer buffer,
int size,
int depth,
IntPointer start,
IntPointer end,
int n) |
static int |
saConcatenatePdf(lept.SARRAY sa,
BytePointer fileout) |
static int |
saConcatenatePdf(lept.SARRAY sa,
String fileout) |
static int |
saConcatenatePdfToData(lept.SARRAY sa,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
saConcatenatePdfToData(lept.SARRAY sa,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
saConcatenatePdfToData(lept.SARRAY sa,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
saConcatenatePdfToData(lept.SARRAY sa,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdf(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer fileout) |
static int |
saConvertFilesToPdf(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
String title,
String fileout) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
saConvertFilesToPdfData(lept.SARRAY sa,
int res,
float scalefactor,
int type,
int quality,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdf(lept.SARRAY sa,
BytePointer title,
BytePointer fileout) |
static int |
saConvertUnscaledFilesToPdf(lept.SARRAY sa,
String title,
String fileout) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
BytePointer title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
BytePointer title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
BytePointer title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
BytePointer title,
PointerPointer pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
String title,
byte[] pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
String title,
ByteBuffer pdata,
SizeTPointer pnbytes) |
static int |
saConvertUnscaledFilesToPdfData(lept.SARRAY sa,
String title,
BytePointer pdata,
SizeTPointer pnbytes) |
static int |
sarrayAddString(lept.SARRAY sa,
byte[] string,
int copyflag) |
static int |
sarrayAddString(lept.SARRAY sa,
ByteBuffer string,
int copyflag) |
static int |
sarrayAddString(lept.SARRAY sa,
BytePointer string,
int copyflag) |
static int |
sarrayAppend(BytePointer filename,
lept.SARRAY sa) |
static int |
sarrayAppend(String filename,
lept.SARRAY sa) |
static int |
sarrayAppendRange(lept.SARRAY sa1,
lept.SARRAY sa2,
int start,
int end) |
static int |
sarrayChangeRefcount(lept.SARRAY sa,
int delta) |
static int |
sarrayClear(lept.SARRAY sa) |
static lept.SARRAY |
sarrayClone(lept.SARRAY sa) |
static int |
sarrayConcatenate(lept.SARRAY sa1,
lept.SARRAY sa2) |
static int |
sarrayConvertFilesFittedToPS(lept.SARRAY sa,
float xpts,
float ypts,
BytePointer fileout) |
static int |
sarrayConvertFilesFittedToPS(lept.SARRAY sa,
float xpts,
float ypts,
String fileout) |
static int |
sarrayConvertFilesToPS(lept.SARRAY sa,
int res,
BytePointer fileout) |
static int |
sarrayConvertFilesToPS(lept.SARRAY sa,
int res,
String fileout) |
static lept.SARRAY |
sarrayConvertWordsToLines(lept.SARRAY sa,
int linesize) |
static lept.SARRAY |
sarrayCopy(lept.SARRAY sa) |
static lept.SARRAY |
sarrayCreate(int n) |
static lept.SARRAY |
sarrayCreateInitialized(int n,
byte[] initstr) |
static lept.SARRAY |
sarrayCreateInitialized(int n,
ByteBuffer initstr) |
static lept.SARRAY |
sarrayCreateInitialized(int n,
BytePointer initstr) |
static lept.SARRAY |
sarrayCreateLinesFromString(byte[] string,
int blankflag) |
static lept.SARRAY |
sarrayCreateLinesFromString(ByteBuffer string,
int blankflag) |
static lept.SARRAY |
sarrayCreateLinesFromString(BytePointer string,
int blankflag) |
static lept.SARRAY |
sarrayCreateWordsFromString(BytePointer string) |
static lept.SARRAY |
sarrayCreateWordsFromString(String string) |
static void |
sarrayDestroy(lept.SARRAY psa) |
static void |
sarrayDestroy(PointerPointer psa) |
static byte[] |
sarrayGetArray(lept.SARRAY sa,
int[] pnalloc,
int[] pn) |
static ByteBuffer |
sarrayGetArray(lept.SARRAY sa,
IntBuffer pnalloc,
IntBuffer pn) |
static PointerPointer |
sarrayGetArray(lept.SARRAY sa,
IntPointer pnalloc,
IntPointer pn) |
static int |
sarrayGetCount(lept.SARRAY sa) |
static int |
sarrayGetRefcount(lept.SARRAY sa) |
static BytePointer |
sarrayGetString(lept.SARRAY sa,
int index,
int copyflag) |
static int |
sarrayPadToSameSize(lept.SARRAY sa1,
lept.SARRAY sa2,
byte[] padstring) |
static int |
sarrayPadToSameSize(lept.SARRAY sa1,
lept.SARRAY sa2,
ByteBuffer padstring) |
static int |
sarrayPadToSameSize(lept.SARRAY sa1,
lept.SARRAY sa2,
BytePointer padstring) |
static int |
sarrayParseRange(lept.SARRAY sa,
int start,
int[] pactualstart,
int[] pend,
int[] pnewstart,
BytePointer substr,
int loc) |
static int |
sarrayParseRange(lept.SARRAY sa,
int start,
int[] pactualstart,
int[] pend,
int[] pnewstart,
String substr,
int loc) |
static int |
sarrayParseRange(lept.SARRAY sa,
int start,
IntBuffer pactualstart,
IntBuffer pend,
IntBuffer pnewstart,
BytePointer substr,
int loc) |
static int |
sarrayParseRange(lept.SARRAY sa,
int start,
IntBuffer pactualstart,
IntBuffer pend,
IntBuffer pnewstart,
String substr,
int loc) |
static int |
sarrayParseRange(lept.SARRAY sa,
int start,
IntPointer pactualstart,
IntPointer pend,
IntPointer pnewstart,
BytePointer substr,
int loc) |
static int |
sarrayParseRange(lept.SARRAY sa,
int start,
IntPointer pactualstart,
IntPointer pend,
IntPointer pnewstart,
String substr,
int loc) |
static lept.SARRAY |
sarrayRead(BytePointer filename) |
static lept.SARRAY |
sarrayRead(String filename) |
static lept.SARRAY |
sarrayReadStream(Pointer fp) |
static BytePointer |
sarrayRemoveString(lept.SARRAY sa,
int index) |
static int |
sarrayReplaceString(lept.SARRAY sa,
int index,
byte[] newstr,
int copyflag) |
static int |
sarrayReplaceString(lept.SARRAY sa,
int index,
ByteBuffer newstr,
int copyflag) |
static int |
sarrayReplaceString(lept.SARRAY sa,
int index,
BytePointer newstr,
int copyflag) |
static lept.SARRAY |
sarraySelectByRange(lept.SARRAY sain,
int first,
int last) |
static lept.SARRAY |
sarraySelectBySubstring(lept.SARRAY sain,
BytePointer substr) |
static lept.SARRAY |
sarraySelectBySubstring(lept.SARRAY sain,
String substr) |
static lept.SARRAY |
sarraySort(lept.SARRAY saout,
lept.SARRAY sain,
int sortorder) |
static lept.SARRAY |
sarraySortByIndex(lept.SARRAY sain,
lept.NUMA naindex) |
static int |
sarraySplitString(lept.SARRAY sa,
BytePointer str,
BytePointer separators) |
static int |
sarraySplitString(lept.SARRAY sa,
String str,
String separators) |
static BytePointer |
sarrayToString(lept.SARRAY sa,
int addnlflag) |
static BytePointer |
sarrayToStringRange(lept.SARRAY sa,
int first,
int nstrings,
int addnlflag) |
static int |
sarrayWrite(BytePointer filename,
lept.SARRAY sa) |
static int |
sarrayWrite(String filename,
lept.SARRAY sa) |
static int |
sarrayWriteStream(Pointer fp,
lept.SARRAY sa) |
static void |
scaleAreaMapLow2(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int d,
int wpls) |
static void |
scaleAreaMapLow2(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int d,
int wpls) |
static void |
scaleAreaMapLow2(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int d,
int wpls) |
static int |
scaleBinaryLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static int |
scaleBinaryLow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static int |
scaleBinaryLow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static int |
scaleBySamplingLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int d,
int wpls) |
static int |
scaleBySamplingLow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int d,
int wpls) |
static int |
scaleBySamplingLow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int d,
int wpls) |
static void |
scaleColor2xLILineLow(int[] lined,
int wpld,
int[] lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleColor2xLILineLow(IntBuffer lined,
int wpld,
IntBuffer lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleColor2xLILineLow(IntPointer lined,
int wpld,
IntPointer lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleColor2xLILow(int[] datad,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleColor2xLILow(IntBuffer datad,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleColor2xLILow(IntPointer datad,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static void |
scaleColorAreaMapLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleColorAreaMapLow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleColorAreaMapLow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static void |
scaleColorLILow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleColorLILow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleColorLILow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGray2xLILineLow(int[] lined,
int wpld,
int[] lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleGray2xLILineLow(IntBuffer lined,
int wpld,
IntBuffer lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleGray2xLILineLow(IntPointer lined,
int wpld,
IntPointer lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleGray2xLILow(int[] datad,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleGray2xLILow(IntBuffer datad,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGray2xLILow(IntPointer datad,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGray4xLILineLow(int[] lined,
int wpld,
int[] lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleGray4xLILineLow(IntBuffer lined,
int wpld,
IntBuffer lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleGray4xLILineLow(IntPointer lined,
int wpld,
IntPointer lines,
int ws,
int wpls,
int lastlineflag) |
static void |
scaleGray4xLILow(int[] datad,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleGray4xLILow(IntBuffer datad,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGray4xLILow(IntPointer datad,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGrayAreaMapLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleGrayAreaMapLow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGrayAreaMapLow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGrayLILow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls) |
static void |
scaleGrayLILow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int wpls) |
static void |
scaleGrayLILow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int wpls) |
static int |
scaleMipmapLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas1,
int wpls1,
int[] datas2,
int wpls2,
float red) |
static int |
scaleMipmapLow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas1,
int wpls1,
IntBuffer datas2,
int wpls2,
float red) |
static int |
scaleMipmapLow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas1,
int wpls1,
IntPointer datas2,
int wpls2,
float red) |
static void |
scaleRGBToGray2Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
float rwt,
float gwt,
float bwt) |
static void |
scaleRGBToGray2Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
float rwt,
float gwt,
float bwt) |
static void |
scaleRGBToGray2Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
float rwt,
float gwt,
float bwt) |
static int |
scaleSmoothLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int d,
int wpls,
int size) |
static int |
scaleSmoothLow(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int ws,
int hs,
int d,
int wpls,
int size) |
static int |
scaleSmoothLow(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int ws,
int hs,
int d,
int wpls,
int size) |
static void |
scaleToGray16Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] tab8) |
static void |
scaleToGray16Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer tab8) |
static void |
scaleToGray16Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
IntPointer tab8) |
static void |
scaleToGray2Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] sumtab,
byte[] valtab) |
static void |
scaleToGray2Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer sumtab,
ByteBuffer valtab) |
static void |
scaleToGray2Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
IntPointer sumtab,
BytePointer valtab) |
static void |
scaleToGray3Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] sumtab,
byte[] valtab) |
static void |
scaleToGray3Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer sumtab,
ByteBuffer valtab) |
static void |
scaleToGray3Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
IntPointer sumtab,
BytePointer valtab) |
static void |
scaleToGray4Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] sumtab,
byte[] valtab) |
static void |
scaleToGray4Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer sumtab,
ByteBuffer valtab) |
static void |
scaleToGray4Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
IntPointer sumtab,
BytePointer valtab) |
static void |
scaleToGray6Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] tab8,
byte[] valtab) |
static void |
scaleToGray6Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer tab8,
ByteBuffer valtab) |
static void |
scaleToGray6Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
IntPointer tab8,
BytePointer valtab) |
static void |
scaleToGray8Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] tab8,
byte[] valtab) |
static void |
scaleToGray8Low(IntBuffer datad,
int wd,
int hd,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer tab8,
ByteBuffer valtab) |
static void |
scaleToGray8Low(IntPointer datad,
int wd,
int hd,
int wpld,
IntPointer datas,
int wpls,
IntPointer tab8,
BytePointer valtab) |
static void |
seedfillBinaryLow(int[] datas,
int hs,
int wpls,
int[] datam,
int hm,
int wplm,
int connectivity) |
static void |
seedfillBinaryLow(IntBuffer datas,
int hs,
int wpls,
IntBuffer datam,
int hm,
int wplm,
int connectivity) |
static void |
seedfillBinaryLow(IntPointer datas,
int hs,
int wpls,
IntPointer datam,
int hm,
int wplm,
int connectivity) |
static void |
seedfillGrayInvLow(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity) |
static void |
seedfillGrayInvLow(IntBuffer datas,
int w,
int h,
int wpls,
IntBuffer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayInvLow(IntPointer datas,
int w,
int h,
int wpls,
IntPointer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayInvLowSimple(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity) |
static void |
seedfillGrayInvLowSimple(IntBuffer datas,
int w,
int h,
int wpls,
IntBuffer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayInvLowSimple(IntPointer datas,
int w,
int h,
int wpls,
IntPointer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayLow(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity) |
static void |
seedfillGrayLow(IntBuffer datas,
int w,
int h,
int wpls,
IntBuffer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayLow(IntPointer datas,
int w,
int h,
int wpls,
IntPointer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayLowSimple(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity) |
static void |
seedfillGrayLowSimple(IntBuffer datas,
int w,
int h,
int wpls,
IntBuffer datam,
int wplm,
int connectivity) |
static void |
seedfillGrayLowSimple(IntPointer datas,
int w,
int h,
int wpls,
IntPointer datam,
int wplm,
int connectivity) |
static void |
seedspreadLow(int[] datad,
int w,
int h,
int wpld,
int[] datat,
int wplt,
int connectivity) |
static void |
seedspreadLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datat,
int wplt,
int connectivity) |
static void |
seedspreadLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datat,
int wplt,
int connectivity) |
static lept.SELA |
selaAddBasic(lept.SELA sela) |
static lept.SELA |
selaAddCrossJunctions(lept.SELA sela,
float hlsize,
float mdist,
int norient,
int debugflag) |
static lept.SELA |
selaAddDwaCombs(lept.SELA sela) |
static lept.SELA |
selaAddDwaLinear(lept.SELA sela) |
static lept.SELA |
selaAddHitMiss(lept.SELA sela) |
static int |
selaAddSel(lept.SELA sela,
lept.SEL sel,
BytePointer selname,
int copyflag) |
static int |
selaAddSel(lept.SELA sela,
lept.SEL sel,
String selname,
int copyflag) |
static lept.SELA |
selaAddTJunctions(lept.SELA sela,
float hlsize,
float mdist,
int norient,
int debugflag) |
static lept.SELA |
selaCreate(int n) |
static lept.SELA |
selaCreateFromFile(BytePointer filename) |
static lept.SELA |
selaCreateFromFile(String filename) |
static void |
selaDestroy(lept.SELA psela) |
static void |
selaDestroy(PointerPointer psela) |
static lept.PIX |
selaDisplayInPix(lept.SELA sela,
int size,
int gthick,
int spacing,
int ncols) |
static int |
selaFindSelByName(lept.SELA sela,
BytePointer name,
int[] pindex,
lept.SEL psel) |
static int |
selaFindSelByName(lept.SELA sela,
BytePointer name,
IntBuffer pindex,
lept.SEL psel) |
static int |
selaFindSelByName(lept.SELA sela,
BytePointer name,
IntPointer pindex,
lept.SEL psel) |
static int |
selaFindSelByName(lept.SELA sela,
BytePointer name,
IntPointer pindex,
PointerPointer psel) |
static int |
selaFindSelByName(lept.SELA sela,
String name,
int[] pindex,
lept.SEL psel) |
static int |
selaFindSelByName(lept.SELA sela,
String name,
IntBuffer pindex,
lept.SEL psel) |
static int |
selaFindSelByName(lept.SELA sela,
String name,
IntPointer pindex,
lept.SEL psel) |
static BytePointer |
selaGetBrickName(lept.SELA sela,
int hsize,
int vsize) |
static BytePointer |
selaGetCombName(lept.SELA sela,
int size,
int direction) |
static int |
selaGetCount(lept.SELA sela) |
static lept.SEL |
selaGetSel(lept.SELA sela,
int i) |
static lept.SARRAY |
selaGetSelnames(lept.SELA sela) |
static lept.SELA |
selaRead(BytePointer fname) |
static lept.SELA |
selaRead(String fname) |
static lept.SELA |
selaReadStream(Pointer fp) |
static int |
selaWrite(BytePointer fname,
lept.SELA sela) |
static int |
selaWrite(String fname,
lept.SELA sela) |
static int |
selaWriteStream(Pointer fp,
lept.SELA sela) |
static lept.SEL |
selCopy(lept.SEL sel) |
static lept.SEL |
selCreate(int height,
int width,
BytePointer name) |
static lept.SEL |
selCreate(int height,
int width,
String name) |
static lept.SEL |
selCreateBrick(int h,
int w,
int cy,
int cx,
int type) |
static lept.SEL |
selCreateComb(int factor1,
int factor2,
int direction) |
static lept.SEL |
selCreateFromColorPix(lept.PIX pixs,
byte[] selname) |
static lept.SEL |
selCreateFromColorPix(lept.PIX pixs,
ByteBuffer selname) |
static lept.SEL |
selCreateFromColorPix(lept.PIX pixs,
BytePointer selname) |
static lept.SEL |
selCreateFromPix(lept.PIX pix,
int cy,
int cx,
BytePointer name) |
static lept.SEL |
selCreateFromPix(lept.PIX pix,
int cy,
int cx,
String name) |
static lept.SEL |
selCreateFromPta(lept.PTA pta,
int cy,
int cx,
BytePointer name) |
static lept.SEL |
selCreateFromPta(lept.PTA pta,
int cy,
int cx,
String name) |
static lept.SEL |
selCreateFromString(BytePointer text,
int h,
int w,
BytePointer name) |
static lept.SEL |
selCreateFromString(String text,
int h,
int w,
String name) |
static void |
selDestroy(lept.SEL psel) |
static void |
selDestroy(PointerPointer psel) |
static lept.PIX |
selDisplayInPix(lept.SEL sel,
int size,
int gthick) |
static int |
selectComposableSels(int size,
int direction,
lept.SEL psel1,
lept.SEL psel2) |
static int |
selectComposableSels(int size,
int direction,
PointerPointer psel1,
PointerPointer psel2) |
static int |
selectComposableSizes(int size,
int[] pfactor1,
int[] pfactor2) |
static int |
selectComposableSizes(int size,
IntBuffer pfactor1,
IntBuffer pfactor2) |
static int |
selectComposableSizes(int size,
IntPointer pfactor1,
IntPointer pfactor2) |
static int |
selectDefaultPdfEncoding(lept.PIX pix,
int[] ptype) |
static int |
selectDefaultPdfEncoding(lept.PIX pix,
IntBuffer ptype) |
static int |
selectDefaultPdfEncoding(lept.PIX pix,
IntPointer ptype) |
static int |
selFindMaxTranslations(lept.SEL sel,
int[] pxp,
int[] pyp,
int[] pxn,
int[] pyn) |
static int |
selFindMaxTranslations(lept.SEL sel,
IntBuffer pxp,
IntBuffer pyp,
IntBuffer pxn,
IntBuffer pyn) |
static int |
selFindMaxTranslations(lept.SEL sel,
IntPointer pxp,
IntPointer pyp,
IntPointer pxn,
IntPointer pyn) |
static int |
selGetElement(lept.SEL sel,
int row,
int col,
int[] ptype) |
static int |
selGetElement(lept.SEL sel,
int row,
int col,
IntBuffer ptype) |
static int |
selGetElement(lept.SEL sel,
int row,
int col,
IntPointer ptype) |
static BytePointer |
selGetName(lept.SEL sel) |
static int |
selGetParameters(lept.SEL sel,
int[] psy,
int[] psx,
int[] pcy,
int[] pcx) |
static int |
selGetParameters(lept.SEL sel,
IntBuffer psy,
IntBuffer psx,
IntBuffer pcy,
IntBuffer pcx) |
static int |
selGetParameters(lept.SEL sel,
IntPointer psy,
IntPointer psx,
IntPointer pcy,
IntPointer pcx) |
static int |
selGetTypeAtOrigin(lept.SEL sel,
int[] ptype) |
static int |
selGetTypeAtOrigin(lept.SEL sel,
IntBuffer ptype) |
static int |
selGetTypeAtOrigin(lept.SEL sel,
IntPointer ptype) |
static BytePointer |
selPrintToString(lept.SEL sel) |
static lept.SEL |
selRead(BytePointer fname) |
static lept.SEL |
selRead(String fname) |
static lept.SEL |
selReadFromColorImage(BytePointer pathname) |
static lept.SEL |
selReadFromColorImage(String pathname) |
static lept.SEL |
selReadStream(Pointer fp) |
static lept.SEL |
selRotateOrth(lept.SEL sel,
int quads) |
static int |
selSetElement(lept.SEL sel,
int row,
int col,
int type) |
static int |
selSetName(lept.SEL sel,
BytePointer name) |
static int |
selSetName(lept.SEL sel,
String name) |
static int |
selSetOrigin(lept.SEL sel,
int cy,
int cx) |
static int |
selWrite(BytePointer fname,
lept.SEL sel) |
static int |
selWrite(String fname,
lept.SEL sel) |
static int |
selWriteStream(Pointer fp,
lept.SEL sel) |
static int |
setMsgSeverity(int newsev) |
static void |
setPixelLow(int[] line,
int x,
int depth,
int val) |
static void |
setPixelLow(IntBuffer line,
int x,
int depth,
int val) |
static void |
setPixelLow(IntPointer line,
int x,
int depth,
int val) |
static void |
setPixMemoryManager(lept.Allocator_long allocator,
lept.Deallocator_Pointer deallocator) |
static void |
shiftDataHorizontalLow(int[] datad,
int wpld,
int[] datas,
int wpls,
int shift) |
static void |
shiftDataHorizontalLow(IntBuffer datad,
int wpld,
IntBuffer datas,
int wpls,
int shift) |
static void |
shiftDataHorizontalLow(IntPointer datad,
int wpld,
IntPointer datas,
int wpls,
int shift) |
static int |
splitPathAtDirectory(BytePointer pathname,
byte[] pdir,
byte[] ptail) |
static int |
splitPathAtDirectory(BytePointer pathname,
ByteBuffer pdir,
ByteBuffer ptail) |
static int |
splitPathAtDirectory(BytePointer pathname,
BytePointer pdir,
BytePointer ptail) |
static int |
splitPathAtDirectory(BytePointer pathname,
PointerPointer pdir,
PointerPointer ptail) |
static int |
splitPathAtDirectory(String pathname,
byte[] pdir,
byte[] ptail) |
static int |
splitPathAtDirectory(String pathname,
ByteBuffer pdir,
ByteBuffer ptail) |
static int |
splitPathAtDirectory(String pathname,
BytePointer pdir,
BytePointer ptail) |
static int |
splitPathAtExtension(BytePointer pathname,
byte[] pbasename,
byte[] pextension) |
static int |
splitPathAtExtension(BytePointer pathname,
ByteBuffer pbasename,
ByteBuffer pextension) |
static int |
splitPathAtExtension(BytePointer pathname,
BytePointer pbasename,
BytePointer pextension) |
static int |
splitPathAtExtension(BytePointer pathname,
PointerPointer pbasename,
PointerPointer pextension) |
static int |
splitPathAtExtension(String pathname,
byte[] pbasename,
byte[] pextension) |
static int |
splitPathAtExtension(String pathname,
ByteBuffer pbasename,
ByteBuffer pextension) |
static int |
splitPathAtExtension(String pathname,
BytePointer pbasename,
BytePointer pextension) |
static lept.SARRAY |
splitStringToParagraphs(byte[] textstr,
int splitflag) |
static lept.SARRAY |
splitStringToParagraphs(ByteBuffer textstr,
int splitflag) |
static lept.SARRAY |
splitStringToParagraphs(BytePointer textstr,
int splitflag) |
static int |
sreadHeaderSpix(int[] data,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] piscmap) |
static int |
sreadHeaderSpix(IntBuffer data,
IntBuffer pwidth,
IntBuffer pheight,
IntBuffer pbps,
IntBuffer pspp,
IntBuffer piscmap) |
static int |
sreadHeaderSpix(IntPointer data,
IntPointer pwidth,
IntPointer pheight,
IntPointer pbps,
IntPointer pspp,
IntPointer piscmap) |
static void |
startTimer() |
static lept.L_TIMER |
startTimerNested() |
static float |
stopTimer() |
static float |
stopTimerNested(lept.L_TIMER rusage_start) |
static int |
stringCat(byte[] dest,
long size,
BytePointer src) |
static int |
stringCat(byte[] dest,
long size,
String src) |
static int |
stringCat(ByteBuffer dest,
long size,
BytePointer src) |
static int |
stringCat(ByteBuffer dest,
long size,
String src) |
static int |
stringCat(BytePointer dest,
long size,
BytePointer src) |
static int |
stringCat(BytePointer dest,
long size,
String src) |
static int |
stringCompareLexical(BytePointer str1,
BytePointer str2) |
static int |
stringCompareLexical(String str1,
String str2) |
static BytePointer |
stringConcatNew(BytePointer first) |
static ByteBuffer |
stringConcatNew(String first) |
static int |
stringCopy(byte[] dest,
BytePointer src,
int n) |
static int |
stringCopy(byte[] dest,
String src,
int n) |
static int |
stringCopy(ByteBuffer dest,
BytePointer src,
int n) |
static int |
stringCopy(ByteBuffer dest,
String src,
int n) |
static int |
stringCopy(BytePointer dest,
BytePointer src,
int n) |
static int |
stringCopy(BytePointer dest,
String src,
int n) |
static int |
stringFindSubstr(BytePointer src,
BytePointer sub,
int[] ploc) |
static int |
stringFindSubstr(BytePointer src,
BytePointer sub,
IntBuffer ploc) |
static int |
stringFindSubstr(BytePointer src,
BytePointer sub,
IntPointer ploc) |
static int |
stringFindSubstr(String src,
String sub,
int[] ploc) |
static int |
stringFindSubstr(String src,
String sub,
IntBuffer ploc) |
static int |
stringFindSubstr(String src,
String sub,
IntPointer ploc) |
static BytePointer |
stringJoin(BytePointer src1,
BytePointer src2) |
static ByteBuffer |
stringJoin(String src1,
String src2) |
static int |
stringLength(BytePointer src,
long size) |
static int |
stringLength(String src,
long size) |
static BytePointer |
stringNew(BytePointer src) |
static ByteBuffer |
stringNew(String src) |
static BytePointer |
stringRemoveChars(BytePointer src,
BytePointer remchars) |
static ByteBuffer |
stringRemoveChars(String src,
String remchars) |
static int |
stringReplace(byte[] pdest,
BytePointer src) |
static int |
stringReplace(byte[] pdest,
String src) |
static int |
stringReplace(ByteBuffer pdest,
BytePointer src) |
static int |
stringReplace(ByteBuffer pdest,
String src) |
static int |
stringReplace(BytePointer pdest,
BytePointer src) |
static int |
stringReplace(BytePointer pdest,
String src) |
static int |
stringReplace(PointerPointer pdest,
BytePointer src) |
static byte[] |
stringReplaceEachSubstr(BytePointer src,
BytePointer sub1,
BytePointer sub2,
int[] pcount) |
static ByteBuffer |
stringReplaceEachSubstr(BytePointer src,
BytePointer sub1,
BytePointer sub2,
IntBuffer pcount) |
static BytePointer |
stringReplaceEachSubstr(BytePointer src,
BytePointer sub1,
BytePointer sub2,
IntPointer pcount) |
static byte[] |
stringReplaceEachSubstr(String src,
String sub1,
String sub2,
int[] pcount) |
static ByteBuffer |
stringReplaceEachSubstr(String src,
String sub1,
String sub2,
IntBuffer pcount) |
static BytePointer |
stringReplaceEachSubstr(String src,
String sub1,
String sub2,
IntPointer pcount) |
static byte[] |
stringReplaceSubstr(BytePointer src,
BytePointer sub1,
BytePointer sub2,
int[] pfound,
int[] ploc) |
static ByteBuffer |
stringReplaceSubstr(BytePointer src,
BytePointer sub1,
BytePointer sub2,
IntBuffer pfound,
IntBuffer ploc) |
static BytePointer |
stringReplaceSubstr(BytePointer src,
BytePointer sub1,
BytePointer sub2,
IntPointer pfound,
IntPointer ploc) |
static byte[] |
stringReplaceSubstr(String src,
String sub1,
String sub2,
int[] pfound,
int[] ploc) |
static ByteBuffer |
stringReplaceSubstr(String src,
String sub1,
String sub2,
IntBuffer pfound,
IntBuffer ploc) |
static BytePointer |
stringReplaceSubstr(String src,
String sub1,
String sub2,
IntPointer pfound,
IntPointer ploc) |
static BytePointer |
stringReverse(BytePointer src) |
static ByteBuffer |
stringReverse(String src) |
static int |
stringSplitOnToken(byte[] cstr,
BytePointer seps,
byte[] phead,
byte[] ptail) |
static int |
stringSplitOnToken(byte[] cstr,
String seps,
byte[] phead,
byte[] ptail) |
static int |
stringSplitOnToken(ByteBuffer cstr,
BytePointer seps,
ByteBuffer phead,
ByteBuffer ptail) |
static int |
stringSplitOnToken(ByteBuffer cstr,
String seps,
ByteBuffer phead,
ByteBuffer ptail) |
static int |
stringSplitOnToken(BytePointer cstr,
BytePointer seps,
BytePointer phead,
BytePointer ptail) |
static int |
stringSplitOnToken(BytePointer cstr,
BytePointer seps,
PointerPointer phead,
PointerPointer ptail) |
static int |
stringSplitOnToken(BytePointer cstr,
String seps,
BytePointer phead,
BytePointer ptail) |
static byte[] |
strtokSafe(byte[] cstr,
BytePointer seps,
byte[] psaveptr) |
static byte[] |
strtokSafe(byte[] cstr,
String seps,
byte[] psaveptr) |
static ByteBuffer |
strtokSafe(ByteBuffer cstr,
BytePointer seps,
ByteBuffer psaveptr) |
static ByteBuffer |
strtokSafe(ByteBuffer cstr,
String seps,
ByteBuffer psaveptr) |
static BytePointer |
strtokSafe(BytePointer cstr,
BytePointer seps,
BytePointer psaveptr) |
static BytePointer |
strtokSafe(BytePointer cstr,
BytePointer seps,
PointerPointer psaveptr) |
static BytePointer |
strtokSafe(BytePointer cstr,
String seps,
BytePointer psaveptr) |
static lept.L_SUDOKU |
sudokuCreate(int[] array) |
static lept.L_SUDOKU |
sudokuCreate(IntBuffer array) |
static lept.L_SUDOKU |
sudokuCreate(IntPointer array) |
static void |
sudokuDestroy(lept.L_SUDOKU psud) |
static void |
sudokuDestroy(PointerPointer psud) |
static lept.L_SUDOKU |
sudokuGenerate(int[] array,
int seed,
int minelems,
int maxtries) |
static lept.L_SUDOKU |
sudokuGenerate(IntBuffer array,
int seed,
int minelems,
int maxtries) |
static lept.L_SUDOKU |
sudokuGenerate(IntPointer array,
int seed,
int minelems,
int maxtries) |
static int |
sudokuOutput(lept.L_SUDOKU sud,
int arraytype) |
static IntPointer |
sudokuReadFile(BytePointer filename) |
static IntBuffer |
sudokuReadFile(String filename) |
static IntPointer |
sudokuReadString(BytePointer str) |
static IntBuffer |
sudokuReadString(String str) |
static int |
sudokuSolve(lept.L_SUDOKU sud) |
static int |
sudokuTestUniqueness(int[] array,
int[] punique) |
static int |
sudokuTestUniqueness(IntBuffer array,
IntBuffer punique) |
static int |
sudokuTestUniqueness(IntPointer array,
IntPointer punique) |
static void |
thresholdTo2bppLow(int[] datad,
int h,
int wpld,
int[] datas,
int wpls,
int[] tab) |
static void |
thresholdTo2bppLow(IntBuffer datad,
int h,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer tab) |
static void |
thresholdTo2bppLow(IntPointer datad,
int h,
int wpld,
IntPointer datas,
int wpls,
IntPointer tab) |
static void |
thresholdTo4bppLow(int[] datad,
int h,
int wpld,
int[] datas,
int wpls,
int[] tab) |
static void |
thresholdTo4bppLow(IntBuffer datad,
int h,
int wpld,
IntBuffer datas,
int wpls,
IntBuffer tab) |
static void |
thresholdTo4bppLow(IntPointer datad,
int h,
int wpld,
IntPointer datas,
int wpls,
IntPointer tab) |
static void |
thresholdToBinaryLineLow(int[] lined,
int w,
int[] lines,
int d,
int thresh) |
static void |
thresholdToBinaryLineLow(IntBuffer lined,
int w,
IntBuffer lines,
int d,
int thresh) |
static void |
thresholdToBinaryLineLow(IntPointer lined,
int w,
IntPointer lines,
int d,
int thresh) |
static void |
thresholdToBinaryLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int d,
int wpls,
int thresh) |
static void |
thresholdToBinaryLow(IntBuffer datad,
int w,
int h,
int wpld,
IntBuffer datas,
int d,
int wpls,
int thresh) |
static void |
thresholdToBinaryLow(IntPointer datad,
int w,
int h,
int wpld,
IntPointer datas,
int d,
int wpls,
int thresh) |
static int |
tiffGetCount(Pointer fp,
int[] pn) |
static int |
tiffGetCount(Pointer fp,
IntBuffer pn) |
static int |
tiffGetCount(Pointer fp,
IntPointer pn) |
static int |
writeImageCompressedToPSFile(BytePointer filein,
BytePointer fileout,
int res,
int[] pfirstfile,
int[] pindex) |
static int |
writeImageCompressedToPSFile(BytePointer filein,
BytePointer fileout,
int res,
IntBuffer pfirstfile,
IntBuffer pindex) |
static int |
writeImageCompressedToPSFile(BytePointer filein,
BytePointer fileout,
int res,
IntPointer pfirstfile,
IntPointer pindex) |
static int |
writeImageCompressedToPSFile(String filein,
String fileout,
int res,
int[] pfirstfile,
int[] pindex) |
static int |
writeImageCompressedToPSFile(String filein,
String fileout,
int res,
IntBuffer pfirstfile,
IntBuffer pindex) |
static int |
writeImageCompressedToPSFile(String filein,
String fileout,
int res,
IntPointer pfirstfile,
IntPointer pindex) |
static int |
writeMultipageTiff(BytePointer dirin,
BytePointer substr,
BytePointer fileout) |
static int |
writeMultipageTiff(String dirin,
String substr,
String fileout) |
static int |
writeMultipageTiffSA(lept.SARRAY sa,
BytePointer fileout) |
static int |
writeMultipageTiffSA(lept.SARRAY sa,
String fileout) |
static int |
wshedApply(lept.L_WSHED wshed) |
static int |
wshedBasins(lept.L_WSHED wshed,
lept.PIXA ppixa,
lept.NUMA pnalevels) |
static int |
wshedBasins(lept.L_WSHED wshed,
PointerPointer ppixa,
PointerPointer pnalevels) |
static lept.L_WSHED |
wshedCreate(lept.PIX pixs,
lept.PIX pixm,
int mindepth,
int debugflag) |
static void |
wshedDestroy(lept.L_WSHED pwshed) |
static void |
wshedDestroy(PointerPointer pwshed) |
static lept.PIX |
wshedRenderColors(lept.L_WSHED wshed) |
static lept.PIX |
wshedRenderFill(lept.L_WSHED wshed) |
static byte[] |
zlibCompress(byte[] datain,
long nin,
SizeTPointer pnout) |
static ByteBuffer |
zlibCompress(ByteBuffer datain,
long nin,
SizeTPointer pnout) |
static BytePointer |
zlibCompress(BytePointer datain,
long nin,
SizeTPointer pnout) |
static byte[] |
zlibUncompress(byte[] datain,
long nin,
SizeTPointer pnout) |
static ByteBuffer |
zlibUncompress(ByteBuffer datain,
long nin,
SizeTPointer pnout) |
static BytePointer |
zlibUncompress(BytePointer datain,
long nin,
SizeTPointer pnout) |
public static final int HAVE_LIBJPEG
public static final int HAVE_LIBTIFF
public static final int HAVE_LIBPNG
public static final int HAVE_LIBZ
public static final int HAVE_LIBGIF
public static final int HAVE_LIBUNGIF
public static final int HAVE_LIBWEBP
public static final int HAVE_LIBJP2K
public static final int HAVE_FMEMOPEN
public static final int USE_BMPIO
public static final int USE_PNMIO
public static final int USE_JP2KHEADER
public static final int USE_PDFIO
public static final int USE_PSIO
public static final int UNDEF
public static final int NULL
public static final int TRUE
public static final int FALSE
public static final int L_NOT_FOUND
public static final int L_FOUND
public static final int UNIX_PATH_SEPCHAR
public static final int WIN_PATH_SEPCHAR
public static final int L_SEVERITY_EXTERNAL
public static final int L_SEVERITY_ALL
public static final int L_SEVERITY_DEBUG
public static final int L_SEVERITY_INFO
public static final int L_SEVERITY_WARNING
public static final int L_SEVERITY_ERROR
public static final int L_SEVERITY_NONE
public static final int MINIMUM_SEVERITY
public static final int DEFAULT_SEVERITY
public static final int NUMA_VERSION_NUMBER
public static final int DNA_VERSION_NUMBER
public static final int SARRAY_VERSION_NUMBER
public static final int L_LINEAR_INTERP
public static final int L_QUADRATIC_INTERP
public static final int L_CONTINUED_BORDER
public static final int L_SLOPE_BORDER
public static final int L_MIRRORED_BORDER
public static final int L_INTEGER_VALUE
public static final int L_FLOAT_VALUE
public static final int L_NO_COMPACTION
public static final int L_COMPACTION
public static final int L_AUTO_DOWNSHIFT
public static final int L_MIN_DOWNSHIFT
public static final int L_FULL_DOWNSHIFT
public static final int L_HANDLE_ONLY
public static final int L_REMOVE
public static final int USE_INLINE_ACCESSORS
public static final int SPLIT_ON_LEADING_WHITE
public static final int SPLIT_ON_BLANK_LINE
public static final int SPLIT_ON_BOTH
public static final int CCB_LOCAL_COORDS
public static final int CCB_GLOBAL_COORDS
public static final int CCB_SAVE_ALL_PTS
public static final int CCB_SAVE_TURNING_PTS
public static final int DEWARP_VERSION_NUMBER
public static final int GPLOT_VERSION_NUMBER
public static final int NUM_GPLOT_STYLES
public static final int GPLOT_LINES
public static final int GPLOT_POINTS
public static final int GPLOT_IMPULSES
public static final int GPLOT_LINESPOINTS
public static final int GPLOT_DOTS
public static final int NUM_GPLOT_OUTPUTS
public static final int GPLOT_NONE
public static final int GPLOT_PNG
public static final int GPLOT_PS
public static final int GPLOT_EPS
public static final int GPLOT_X11
public static final int GPLOT_LATEX
public static final int GPLOT_LINEAR_SCALE
public static final int GPLOT_LOG_SCALE_X
public static final int GPLOT_LOG_SCALE_Y
public static final int GPLOT_LOG_SCALE_X_Y
public static final int IFF_UNKNOWN
public static final int IFF_BMP
public static final int IFF_JFIF_JPEG
public static final int IFF_PNG
public static final int IFF_TIFF
public static final int IFF_TIFF_PACKBITS
public static final int IFF_TIFF_RLE
public static final int IFF_TIFF_G3
public static final int IFF_TIFF_G4
public static final int IFF_TIFF_LZW
public static final int IFF_TIFF_ZIP
public static final int IFF_PNM
public static final int IFF_PS
public static final int IFF_GIF
public static final int IFF_JP2
public static final int IFF_WEBP
public static final int IFF_LPDF
public static final int IFF_DEFAULT
public static final int IFF_SPIX
public static final int BMP_ID
public static final int TIFF_BIGEND_ID
public static final int TIFF_LITTLEEND_ID
public static final int L_JPEG_READ_LUMINANCE
public static final int L_JPEG_FAIL_ON_BAD_DATA
public static final int L_JPEG_ENCODE
public static final int L_G4_ENCODE
public static final int L_FLATE_ENCODE
public static final int L_JP2K_ENCODE
public static final int L_FIRST_IMAGE
public static final int L_NEXT_IMAGE
public static final int L_LAST_IMAGE
public static final int JB_RANKHAUS
public static final int JB_CORRELATION
public static final int JB_CONN_COMPS
public static final int JB_CHARACTERS
public static final int JB_WORDS
public static final String JB_TEMPLATE_EXT
public static final String JB_DATA_EXT
public static final int SEL_VERSION_NUMBER
public static final int KERNEL_VERSION_NUMBER
public static final int SYMMETRIC_MORPH_BC
public static final int ASYMMETRIC_MORPH_BC
public static final int SEL_DONT_CARE
public static final int SEL_HIT
public static final int SEL_MISS
public static final int L_RUN_OFF
public static final int L_RUN_ON
public static final int L_HORIZ
public static final int L_VERT
public static final int L_BOTH_DIRECTIONS
public static final int L_MORPH_DILATE
public static final int L_MORPH_ERODE
public static final int L_MORPH_OPEN
public static final int L_MORPH_CLOSE
public static final int L_MORPH_HMT
public static final int L_LINEAR_SCALE
public static final int L_LOG_SCALE
public static final int L_TOPHAT_WHITE
public static final int L_TOPHAT_BLACK
public static final int L_ARITH_ADD
public static final int L_ARITH_SUBTRACT
public static final int L_ARITH_MULTIPLY
public static final int L_ARITH_DIVIDE
public static final int L_UNION
public static final int L_INTERSECTION
public static final int L_SUBTRACTION
public static final int L_EXCLUSIVE_OR
public static final int L_CHOOSE_MIN
public static final int L_CHOOSE_MAX
public static final int L_CHOOSE_MAX_MIN_DIFF
public static final int L_BOUNDARY_BG
public static final int L_BOUNDARY_FG
public static final int L_COMPARE_XOR
public static final int L_COMPARE_SUBTRACT
public static final int L_COMPARE_ABS_DIFF
public static final int L_MAX_DIFF_FROM_AVERAGE_2
public static final int L_MAX_MIN_DIFF_FROM_2
public static final int L_MAX_DIFF
public static final int COLOR_RED
public static final int COLOR_GREEN
public static final int COLOR_BLUE
public static final int L_ALPHA_CHANNEL
public static final int REMOVE_CMAP_TO_BINARY
public static final int REMOVE_CMAP_TO_GRAYSCALE
public static final int REMOVE_CMAP_TO_FULL_COLOR
public static final int REMOVE_CMAP_WITH_ALPHA
public static final int REMOVE_CMAP_BASED_ON_SRC
public static final int PIX_SRC
public static final int PIX_DST
public static final int PIX_CLR
public static final int PIX_SET
public static final int PIX_PAINT
public static final int PIX_MASK
public static final int PIX_SUBTRACT
public static final int PIX_XOR
public static final int PIXAA_VERSION_NUMBER
public static final int PIXA_VERSION_NUMBER
public static final int BOXA_VERSION_NUMBER
public static final int BOXAA_VERSION_NUMBER
public static final int PTA_VERSION_NUMBER
public static final int FPIX_VERSION_NUMBER
public static final int DPIX_VERSION_NUMBER
public static final int PIXACOMP_VERSION_NUMBER
public static final int L_INSERT
public static final int L_COPY
public static final int L_CLONE
public static final int L_COPY_CLONE
public static final int L_SHELL_SORT
public static final int L_BIN_SORT
public static final int L_SORT_INCREASING
public static final int L_SORT_DECREASING
public static final int L_SORT_BY_X
public static final int L_SORT_BY_Y
public static final int L_SORT_BY_RIGHT
public static final int L_SORT_BY_BOT
public static final int L_SORT_BY_WIDTH
public static final int L_SORT_BY_HEIGHT
public static final int L_SORT_BY_MIN_DIMENSION
public static final int L_SORT_BY_MAX_DIMENSION
public static final int L_SORT_BY_PERIMETER
public static final int L_SORT_BY_AREA
public static final int L_SORT_BY_ASPECT_RATIO
public static final int L_BLEND_WITH_INVERSE
public static final int L_BLEND_TO_WHITE
public static final int L_BLEND_TO_BLACK
public static final int L_BLEND_GRAY
public static final int L_BLEND_GRAY_WITH_INVERSE
public static final int L_PAINT_LIGHT
public static final int L_PAINT_DARK
public static final int L_SET_PIXELS
public static final int L_CLEAR_PIXELS
public static final int L_FLIP_PIXELS
public static final int L_SELECT_WIDTH
public static final int L_SELECT_HEIGHT
public static final int L_SELECT_IF_EITHER
public static final int L_SELECT_IF_BOTH
public static final int L_SELECT_IF_LT
public static final int L_SELECT_IF_GT
public static final int L_SELECT_IF_LTE
public static final int L_SELECT_IF_GTE
public static final int L_SELECT_RED
public static final int L_SELECT_GREEN
public static final int L_SELECT_BLUE
public static final int L_SELECT_MIN
public static final int L_SELECT_MAX
public static final int L_SELECT_AVERAGE
public static final int L_LS_BYTE
public static final int L_MS_BYTE
public static final int L_CLIP_TO_255
public static final int L_ROTATE_AREA_MAP
public static final int L_ROTATE_SHEAR
public static final int L_ROTATE_SAMPLING
public static final int L_BRING_IN_WHITE
public static final int L_BRING_IN_BLACK
public static final int L_SHEAR_ABOUT_CORNER
public static final int L_SHEAR_ABOUT_CENTER
public static final int L_TR_SC_RO
public static final int L_SC_RO_TR
public static final int L_RO_TR_SC
public static final int L_TR_RO_SC
public static final int L_RO_SC_TR
public static final int L_SC_TR_RO
public static final int L_FILL_WHITE
public static final int L_FILL_BLACK
public static final int L_SET_WHITE
public static final int L_SET_BLACK
public static final int L_GET_WHITE_VAL
public static final int L_GET_BLACK_VAL
public static final int L_WHITE_IS_MAX
public static final int L_BLACK_IS_MAX
public static final int DEFAULT_CLIP_LOWER_1
public static final int DEFAULT_CLIP_UPPER_1
public static final int DEFAULT_CLIP_LOWER_2
public static final int DEFAULT_CLIP_UPPER_2
public static final int L_MANHATTAN_DISTANCE
public static final int L_EUCLIDEAN_DISTANCE
public static final int L_MEAN_ABSVAL
public static final int L_MEDIAN_VAL
public static final int L_MODE_VAL
public static final int L_MODE_COUNT
public static final int L_ROOT_MEAN_SQUARE
public static final int L_STANDARD_DEVIATION
public static final int L_VARIANCE
public static final int L_CHOOSE_CONSECUTIVE
public static final int L_CHOOSE_SKIP_BY
public static final int L_TEXT_ORIENT_UNKNOWN
public static final int L_TEXT_ORIENT_UP
public static final int L_TEXT_ORIENT_LEFT
public static final int L_TEXT_ORIENT_DOWN
public static final int L_TEXT_ORIENT_RIGHT
public static final int L_HORIZONTAL_EDGES
public static final int L_VERTICAL_EDGES
public static final int L_ALL_EDGES
public static final int L_HORIZONTAL_LINE
public static final int L_POS_SLOPE_LINE
public static final int L_VERTICAL_LINE
public static final int L_NEG_SLOPE_LINE
public static final int L_OBLIQUE_LINE
public static final int L_FROM_LEFT
public static final int L_FROM_RIGHT
public static final int L_FROM_TOP
public static final int L_FROM_BOT
public static final int L_SCAN_NEGATIVE
public static final int L_SCAN_POSITIVE
public static final int L_SCAN_BOTH
public static final int L_SCAN_HORIZONTAL
public static final int L_SCAN_VERTICAL
public static final int L_ADJUST_SKIP
public static final int L_ADJUST_LEFT
public static final int L_ADJUST_RIGHT
public static final int L_ADJUST_LEFT_AND_RIGHT
public static final int L_ADJUST_TOP
public static final int L_ADJUST_BOT
public static final int L_ADJUST_TOP_AND_BOT
public static final int L_ADJUST_CHOOSE_MIN
public static final int L_ADJUST_CHOOSE_MAX
public static final int L_SET_LEFT
public static final int L_SET_RIGHT
public static final int L_SET_TOP
public static final int L_SET_BOT
public static final int L_GET_LEFT
public static final int L_GET_RIGHT
public static final int L_GET_TOP
public static final int L_GET_BOT
public static final int L_USE_MINSIZE
public static final int L_USE_MAXSIZE
public static final int L_SUB_ON_BIG_DIFF
public static final int L_COMBINE
public static final int L_REMOVE_SMALL
public static final int L_WARP_TO_LEFT
public static final int L_WARP_TO_RIGHT
public static final int L_LINEAR_WARP
public static final int L_QUADRATIC_WARP
public static final int L_INTERPOLATED
public static final int L_SAMPLED
public static final int L_THIN_FG
public static final int L_THIN_BG
public static final int L_HORIZONTAL_RUNS
public static final int L_VERTICAL_RUNS
public static final int L_SOBEL_EDGE
public static final int L_TWO_SIDED_EDGE
public static final int L_SUBPIXEL_ORDER_RGB
public static final int L_SUBPIXEL_ORDER_BGR
public static final int L_SUBPIXEL_ORDER_VRGB
public static final int L_SUBPIXEL_ORDER_VBGR
public static final int L_HS_HISTO
public static final int L_HV_HISTO
public static final int L_SV_HISTO
public static final int L_INCLUDE_REGION
public static final int L_EXCLUDE_REGION
public static final int L_ADD_ABOVE
public static final int L_ADD_BELOW
public static final int L_ADD_LEFT
public static final int L_ADD_RIGHT
public static final int L_ADD_AT_TOP
public static final int L_ADD_AT_BOT
public static final int L_ADD_AT_LEFT
public static final int L_ADD_AT_RIGHT
public static final int L_PLOT_AT_TOP
public static final int L_PLOT_AT_MID_HORIZ
public static final int L_PLOT_AT_BOT
public static final int L_PLOT_AT_LEFT
public static final int L_PLOT_AT_MID_VERT
public static final int L_PLOT_AT_RIGHT
public static final int L_DISPLAY_WITH_XZGV
public static final int L_DISPLAY_WITH_XLI
public static final int L_DISPLAY_WITH_XV
public static final int L_DISPLAY_WITH_IV
public static final int L_DISPLAY_WITH_OPEN
public static final int L_NO_CHROMA_SAMPLING_JPEG
public static final int L_CLIP_TO_ZERO
public static final int L_TAKE_ABSVAL
public static final int L_LESS_THAN_ZERO
public static final int L_EQUAL_TO_ZERO
public static final int L_GREATER_THAN_ZERO
public static final int L_ADD_TRAIL_SLASH
public static final int L_REMOVE_TRAIL_SLASH
public static final int RECOG_VERSION_NUMBER
public static final int L_SELECT_UNSCALED
public static final int L_SELECT_SCALED
public static final int L_SELECT_BOTH
public static final int L_USE_AVERAGE
public static final int L_USE_ALL
public static final int L_UNKNOWN
public static final int L_ARABIC_NUMERALS
public static final int L_LC_ROMAN_NUMERALS
public static final int L_UC_ROMAN_NUMERALS
public static final int L_LC_ALPHA
public static final int L_UC_ALPHA
public static final int L_REG_GENERATE
public static final int L_REG_COMPARE
public static final int L_REG_DISPLAY
public static final int L_SUDOKU_INIT
public static final int L_SUDOKU_STATE
public static final int LIBLEPT_MAJOR_VERSION
public static final int LIBLEPT_MINOR_VERSION
public static int LeptMsgSeverity()
public static void LeptMsgSeverity(int LeptMsgSeverity)
public static BytePointer gplotstylenames(int i)
public static PointerPointer gplotstylenames()
public static BytePointer gplotfilestyles(int i)
public static PointerPointer gplotfilestyles()
public static BytePointer gplotfileoutputs(int i)
public static PointerPointer gplotfileoutputs()
public static int ADDED_BORDER()
public static int L_RED_SHIFT()
public static int L_GREEN_SHIFT()
public static int L_BLUE_SHIFT()
public static int L_ALPHA_SHIFT()
public static float L_RED_WEIGHT()
public static float L_GREEN_WEIGHT()
public static float L_BLUE_WEIGHT()
public static int PIX_SUBTRACT()
public static int L_NOCOPY()
public static lept.PIX pixBackgroundNormSimple(lept.PIX pixs, lept.PIX pixim, lept.PIX pixg)
public static lept.PIX pixBackgroundNorm(lept.PIX pixs, lept.PIX pixim, lept.PIX pixg, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy)
public static lept.PIX pixBackgroundNormMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, int bgval)
public static int pixBackgroundNormGrayArray(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, PointerPointer ppixd)
public static int pixBackgroundNormGrayArray(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, lept.PIX ppixd)
public static int pixBackgroundNormRGBArrays(lept.PIX pixs, lept.PIX pixim, lept.PIX pixg, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, PointerPointer ppixr, PointerPointer ppixg, PointerPointer ppixb)
public static int pixBackgroundNormRGBArrays(lept.PIX pixs, lept.PIX pixim, lept.PIX pixg, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, lept.PIX ppixr, lept.PIX ppixg, lept.PIX ppixb)
public static int pixBackgroundNormGrayArrayMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, int bgval, PointerPointer ppixd)
public static int pixBackgroundNormGrayArrayMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, int bgval, lept.PIX ppixd)
public static int pixBackgroundNormRGBArraysMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, int bgval, PointerPointer ppixr, PointerPointer ppixg, PointerPointer ppixb)
public static int pixBackgroundNormRGBArraysMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, int bgval, lept.PIX ppixr, lept.PIX ppixg, lept.PIX ppixb)
public static int pixGetBackgroundGrayMap(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, PointerPointer ppixd)
public static int pixGetBackgroundGrayMap(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, lept.PIX ppixd)
public static int pixGetBackgroundRGBMap(lept.PIX pixs, lept.PIX pixim, lept.PIX pixg, int sx, int sy, int thresh, int mincount, PointerPointer ppixmr, PointerPointer ppixmg, PointerPointer ppixmb)
public static int pixGetBackgroundRGBMap(lept.PIX pixs, lept.PIX pixim, lept.PIX pixg, int sx, int sy, int thresh, int mincount, lept.PIX ppixmr, lept.PIX ppixmg, lept.PIX ppixmb)
public static int pixGetBackgroundGrayMapMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, PointerPointer ppixm)
public static int pixGetBackgroundGrayMapMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, lept.PIX ppixm)
public static int pixGetBackgroundRGBMapMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, PointerPointer ppixmr, PointerPointer ppixmg, PointerPointer ppixmb)
public static int pixGetBackgroundRGBMapMorph(lept.PIX pixs, lept.PIX pixim, int reduction, int size, lept.PIX ppixmr, lept.PIX ppixmg, lept.PIX ppixmb)
public static int pixFillMapHoles(lept.PIX pix, int nx, int ny, int filltype)
public static lept.PIX pixExtendByReplication(lept.PIX pixs, int addw, int addh)
public static int pixSmoothConnectedRegions(lept.PIX pixs, lept.PIX pixm, int factor)
public static lept.PIX pixGetInvBackgroundMap(lept.PIX pixs, int bgval, int smoothx, int smoothy)
public static lept.PIX pixApplyInvBackgroundGrayMap(lept.PIX pixs, lept.PIX pixm, int sx, int sy)
public static lept.PIX pixApplyInvBackgroundRGBMap(lept.PIX pixs, lept.PIX pixmr, lept.PIX pixmg, lept.PIX pixmb, int sx, int sy)
public static lept.PIX pixApplyVariableGrayMap(lept.PIX pixs, lept.PIX pixg, int target)
public static lept.PIX pixGlobalNormRGB(lept.PIX pixd, lept.PIX pixs, int rval, int gval, int bval, int mapval)
public static lept.PIX pixGlobalNormNoSatRGB(lept.PIX pixd, lept.PIX pixs, int rval, int gval, int bval, int factor, float rank)
public static int pixThresholdSpreadNorm(lept.PIX pixs, int filtertype, int edgethresh, int smoothx, int smoothy, float gamma, int minval, int maxval, int targetthresh, PointerPointer ppixth, PointerPointer ppixb, PointerPointer ppixd)
public static int pixThresholdSpreadNorm(lept.PIX pixs, int filtertype, int edgethresh, int smoothx, int smoothy, float gamma, int minval, int maxval, int targetthresh, lept.PIX ppixth, lept.PIX ppixb, lept.PIX ppixd)
public static lept.PIX pixBackgroundNormFlex(lept.PIX pixs, int sx, int sy, int smoothx, int smoothy, int delta)
public static lept.PIX pixContrastNorm(lept.PIX pixd, lept.PIX pixs, int sx, int sy, int mindiff, int smoothx, int smoothy)
public static int pixMinMaxTiles(lept.PIX pixs, int sx, int sy, int mindiff, int smoothx, int smoothy, PointerPointer ppixmin, PointerPointer ppixmax)
public static int pixMinMaxTiles(lept.PIX pixs, int sx, int sy, int mindiff, int smoothx, int smoothy, lept.PIX ppixmin, lept.PIX ppixmax)
public static lept.PIX pixLinearTRCTiled(lept.PIX pixd, lept.PIX pixs, int sx, int sy, lept.PIX pixmin, lept.PIX pixmax)
public static lept.PIX pixAffineSampledPta(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int incolor)
public static lept.PIX pixAffineSampled(lept.PIX pixs, FloatPointer vc, int incolor)
public static lept.PIX pixAffineSampled(lept.PIX pixs, FloatBuffer vc, int incolor)
public static lept.PIX pixAffinePta(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int incolor)
public static lept.PIX pixAffine(lept.PIX pixs, FloatPointer vc, int incolor)
public static lept.PIX pixAffine(lept.PIX pixs, FloatBuffer vc, int incolor)
public static lept.PIX pixAffinePtaColor(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int colorval)
public static lept.PIX pixAffineColor(lept.PIX pixs, FloatPointer vc, int colorval)
public static lept.PIX pixAffineColor(lept.PIX pixs, FloatBuffer vc, int colorval)
public static lept.PIX pixAffinePtaGray(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, byte grayval)
public static lept.PIX pixAffineGray(lept.PIX pixs, FloatPointer vc, byte grayval)
public static lept.PIX pixAffineGray(lept.PIX pixs, FloatBuffer vc, byte grayval)
public static lept.PIX pixAffinePtaWithAlpha(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, lept.PIX pixg, float fract, int border)
public static int getAffineXformCoeffs(lept.PTA ptas, lept.PTA ptad, PointerPointer pvc)
public static int getAffineXformCoeffs(lept.PTA ptas, lept.PTA ptad, FloatPointer pvc)
public static int getAffineXformCoeffs(lept.PTA ptas, lept.PTA ptad, FloatBuffer pvc)
public static int getAffineXformCoeffs(lept.PTA ptas, lept.PTA ptad, float[] pvc)
public static int affineInvertXform(FloatPointer vc, PointerPointer pvci)
public static int affineInvertXform(FloatPointer vc, FloatPointer pvci)
public static int affineInvertXform(FloatBuffer vc, FloatBuffer pvci)
public static int affineInvertXform(float[] vc,
float[] pvci)
public static int affineXformSampledPt(FloatPointer vc, int x, int y, IntPointer pxp, IntPointer pyp)
public static int affineXformSampledPt(FloatBuffer vc, int x, int y, IntBuffer pxp, IntBuffer pyp)
public static int affineXformSampledPt(float[] vc,
int x,
int y,
int[] pxp,
int[] pyp)
public static int affineXformPt(FloatPointer vc, int x, int y, FloatPointer pxp, FloatPointer pyp)
public static int affineXformPt(FloatBuffer vc, int x, int y, FloatBuffer pxp, FloatBuffer pyp)
public static int affineXformPt(float[] vc,
int x,
int y,
float[] pxp,
float[] pyp)
public static int linearInterpolatePixelColor(IntPointer datas, int wpls, int w, int h, float x, float y, int colorval, IntPointer pval)
public static int linearInterpolatePixelColor(IntBuffer datas, int wpls, int w, int h, float x, float y, int colorval, IntBuffer pval)
public static int linearInterpolatePixelColor(int[] datas,
int wpls,
int w,
int h,
float x,
float y,
int colorval,
int[] pval)
public static int linearInterpolatePixelGray(IntPointer datas, int wpls, int w, int h, float x, float y, int grayval, IntPointer pval)
public static int linearInterpolatePixelGray(IntBuffer datas, int wpls, int w, int h, float x, float y, int grayval, IntBuffer pval)
public static int linearInterpolatePixelGray(int[] datas,
int wpls,
int w,
int h,
float x,
float y,
int grayval,
int[] pval)
public static int gaussjordan(PointerPointer a, FloatPointer b, int n)
public static int gaussjordan(FloatPointer a, FloatPointer b, int n)
public static int gaussjordan(FloatBuffer a, FloatBuffer b, int n)
public static int gaussjordan(float[] a,
float[] b,
int n)
public static lept.PIX pixAffineSequential(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int bw, int bh)
public static FloatPointer createMatrix2dTranslate(float transx, float transy)
public static FloatPointer createMatrix2dScale(float scalex, float scaley)
public static FloatPointer createMatrix2dRotate(float xc, float yc, float angle)
public static lept.PTA ptaAffineTransform(lept.PTA ptas, FloatPointer mat)
public static lept.PTA ptaAffineTransform(lept.PTA ptas, FloatBuffer mat)
public static lept.BOXA boxaAffineTransform(lept.BOXA boxas, FloatPointer mat)
public static lept.BOXA boxaAffineTransform(lept.BOXA boxas, FloatBuffer mat)
public static int l_productMatVec(FloatPointer mat, FloatPointer vecs, FloatPointer vecd, int size)
public static int l_productMatVec(FloatBuffer mat, FloatBuffer vecs, FloatBuffer vecd, int size)
public static int l_productMatVec(float[] mat,
float[] vecs,
float[] vecd,
int size)
public static int l_productMat2(FloatPointer mat1, FloatPointer mat2, FloatPointer matd, int size)
public static int l_productMat2(FloatBuffer mat1, FloatBuffer mat2, FloatBuffer matd, int size)
public static int l_productMat2(float[] mat1,
float[] mat2,
float[] matd,
int size)
public static int l_productMat3(FloatPointer mat1, FloatPointer mat2, FloatPointer mat3, FloatPointer matd, int size)
public static int l_productMat3(FloatBuffer mat1, FloatBuffer mat2, FloatBuffer mat3, FloatBuffer matd, int size)
public static int l_productMat3(float[] mat1,
float[] mat2,
float[] mat3,
float[] matd,
int size)
public static int l_productMat4(FloatPointer mat1, FloatPointer mat2, FloatPointer mat3, FloatPointer mat4, FloatPointer matd, int size)
public static int l_productMat4(FloatBuffer mat1, FloatBuffer mat2, FloatBuffer mat3, FloatBuffer mat4, FloatBuffer matd, int size)
public static int l_productMat4(float[] mat1,
float[] mat2,
float[] mat3,
float[] mat4,
float[] matd,
int size)
public static int l_getDataBit(Pointer line, int n)
public static void l_setDataBit(Pointer line, int n)
public static void l_clearDataBit(Pointer line, int n)
public static void l_setDataBitVal(Pointer line, int n, int val)
public static int l_getDataDibit(Pointer line, int n)
public static void l_setDataDibit(Pointer line, int n, int val)
public static void l_clearDataDibit(Pointer line, int n)
public static int l_getDataQbit(Pointer line, int n)
public static void l_setDataQbit(Pointer line, int n, int val)
public static void l_clearDataQbit(Pointer line, int n)
public static int l_getDataByte(Pointer line, int n)
public static void l_setDataByte(Pointer line, int n, int val)
public static int l_getDataTwoBytes(Pointer line, int n)
public static void l_setDataTwoBytes(Pointer line, int n, int val)
public static int l_getDataFourBytes(Pointer line, int n)
public static void l_setDataFourBytes(Pointer line, int n, int val)
public static BytePointer barcodeDispatchDecoder(BytePointer barstr, int format, int debugflag)
public static ByteBuffer barcodeDispatchDecoder(ByteBuffer barstr, int format, int debugflag)
public static byte[] barcodeDispatchDecoder(byte[] barstr,
int format,
int debugflag)
public static int barcodeFormatIsSupported(int format)
public static lept.NUMA pixFindBaselines(lept.PIX pixs, PointerPointer ppta, int debug)
public static lept.PIX pixDeskewLocal(lept.PIX pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixGetLocalSkewTransform(lept.PIX pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, PointerPointer pptas, PointerPointer pptad)
public static int pixGetLocalSkewTransform(lept.PIX pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, lept.PTA pptas, lept.PTA pptad)
public static lept.NUMA pixGetLocalSkewAngles(lept.PIX pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, FloatPointer pa, FloatPointer pb)
public static lept.NUMA pixGetLocalSkewAngles(lept.PIX pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, FloatBuffer pa, FloatBuffer pb)
public static lept.NUMA pixGetLocalSkewAngles(lept.PIX pixs, int nslices, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, float[] pa, float[] pb)
public static lept.BBUFFER bbufferCreate(BytePointer indata, int nalloc)
public static lept.BBUFFER bbufferCreate(ByteBuffer indata, int nalloc)
public static lept.BBUFFER bbufferCreate(byte[] indata, int nalloc)
public static void bbufferDestroy(PointerPointer pbb)
public static void bbufferDestroy(lept.BBUFFER pbb)
public static BytePointer bbufferDestroyAndSaveData(PointerPointer pbb, SizeTPointer pnbytes)
public static BytePointer bbufferDestroyAndSaveData(lept.BBUFFER pbb, SizeTPointer pnbytes)
public static int bbufferRead(lept.BBUFFER bb, BytePointer src, int nbytes)
public static int bbufferRead(lept.BBUFFER bb, ByteBuffer src, int nbytes)
public static int bbufferRead(lept.BBUFFER bb, byte[] src, int nbytes)
public static int bbufferReadStream(lept.BBUFFER bb, Pointer fp, int nbytes)
public static int bbufferExtendArray(lept.BBUFFER bb, int nbytes)
public static int bbufferWrite(lept.BBUFFER bb, BytePointer dest, long nbytes, SizeTPointer pnout)
public static int bbufferWrite(lept.BBUFFER bb, ByteBuffer dest, long nbytes, SizeTPointer pnout)
public static int bbufferWrite(lept.BBUFFER bb, byte[] dest, long nbytes, SizeTPointer pnout)
public static int bbufferWriteStream(lept.BBUFFER bb, Pointer fp, long nbytes, SizeTPointer pnout)
public static int bbufferBytesToWrite(lept.BBUFFER bb, SizeTPointer pnbytes)
public static lept.PIX pixBilateral(lept.PIX pixs, float spatial_stdev, float range_stdev, int ncomps, int reduction)
public static lept.PIX pixBilateralGray(lept.PIX pixs, float spatial_stdev, float range_stdev, int ncomps, int reduction)
public static lept.PIX pixBilateralExact(lept.PIX pixs, lept.L_KERNEL spatial_kel, lept.L_KERNEL range_kel)
public static lept.PIX pixBilateralGrayExact(lept.PIX pixs, lept.L_KERNEL spatial_kel, lept.L_KERNEL range_kel)
public static lept.PIX pixBlockBilateralExact(lept.PIX pixs, float spatial_stdev, float range_stdev)
public static lept.L_KERNEL makeRangeKernel(float range_stdev)
public static lept.PIX pixBilinearSampledPta(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int incolor)
public static lept.PIX pixBilinearSampled(lept.PIX pixs, FloatPointer vc, int incolor)
public static lept.PIX pixBilinearSampled(lept.PIX pixs, FloatBuffer vc, int incolor)
public static lept.PIX pixBilinearSampled(lept.PIX pixs, float[] vc, int incolor)
public static lept.PIX pixBilinearPta(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int incolor)
public static lept.PIX pixBilinear(lept.PIX pixs, FloatPointer vc, int incolor)
public static lept.PIX pixBilinear(lept.PIX pixs, FloatBuffer vc, int incolor)
public static lept.PIX pixBilinearPtaColor(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int colorval)
public static lept.PIX pixBilinearColor(lept.PIX pixs, FloatPointer vc, int colorval)
public static lept.PIX pixBilinearColor(lept.PIX pixs, FloatBuffer vc, int colorval)
public static lept.PIX pixBilinearPtaGray(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, byte grayval)
public static lept.PIX pixBilinearGray(lept.PIX pixs, FloatPointer vc, byte grayval)
public static lept.PIX pixBilinearGray(lept.PIX pixs, FloatBuffer vc, byte grayval)
public static lept.PIX pixBilinearPtaWithAlpha(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, lept.PIX pixg, float fract, int border)
public static int getBilinearXformCoeffs(lept.PTA ptas, lept.PTA ptad, PointerPointer pvc)
public static int getBilinearXformCoeffs(lept.PTA ptas, lept.PTA ptad, FloatPointer pvc)
public static int getBilinearXformCoeffs(lept.PTA ptas, lept.PTA ptad, FloatBuffer pvc)
public static int getBilinearXformCoeffs(lept.PTA ptas, lept.PTA ptad, float[] pvc)
public static int bilinearXformSampledPt(FloatPointer vc, int x, int y, IntPointer pxp, IntPointer pyp)
public static int bilinearXformSampledPt(FloatBuffer vc, int x, int y, IntBuffer pxp, IntBuffer pyp)
public static int bilinearXformSampledPt(float[] vc,
int x,
int y,
int[] pxp,
int[] pyp)
public static int bilinearXformPt(FloatPointer vc, int x, int y, FloatPointer pxp, FloatPointer pyp)
public static int bilinearXformPt(FloatBuffer vc, int x, int y, FloatBuffer pxp, FloatBuffer pyp)
public static int bilinearXformPt(float[] vc,
int x,
int y,
float[] pxp,
float[] pyp)
public static int pixOtsuAdaptiveThreshold(lept.PIX pixs, int sx, int sy, int smoothx, int smoothy, float scorefract, PointerPointer ppixth, PointerPointer ppixd)
public static int pixOtsuAdaptiveThreshold(lept.PIX pixs, int sx, int sy, int smoothx, int smoothy, float scorefract, lept.PIX ppixth, lept.PIX ppixd)
public static lept.PIX pixOtsuThreshOnBackgroundNorm(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, float scorefract, IntPointer pthresh)
public static lept.PIX pixOtsuThreshOnBackgroundNorm(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, float scorefract, IntBuffer pthresh)
public static lept.PIX pixOtsuThreshOnBackgroundNorm(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int bgval, int smoothx, int smoothy, float scorefract, int[] pthresh)
public static lept.PIX pixMaskedThreshOnBackgroundNorm(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int smoothx, int smoothy, float scorefract, IntPointer pthresh)
public static lept.PIX pixMaskedThreshOnBackgroundNorm(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int smoothx, int smoothy, float scorefract, IntBuffer pthresh)
public static lept.PIX pixMaskedThreshOnBackgroundNorm(lept.PIX pixs, lept.PIX pixim, int sx, int sy, int thresh, int mincount, int smoothx, int smoothy, float scorefract, int[] pthresh)
public static int pixSauvolaBinarizeTiled(lept.PIX pixs, int whsize, float factor, int nx, int ny, PointerPointer ppixth, PointerPointer ppixd)
public static int pixSauvolaBinarizeTiled(lept.PIX pixs, int whsize, float factor, int nx, int ny, lept.PIX ppixth, lept.PIX ppixd)
public static int pixSauvolaBinarize(lept.PIX pixs, int whsize, float factor, int addborder, PointerPointer ppixm, PointerPointer ppixsd, PointerPointer ppixth, PointerPointer ppixd)
public static int pixSauvolaBinarize(lept.PIX pixs, int whsize, float factor, int addborder, lept.PIX ppixm, lept.PIX ppixsd, lept.PIX ppixth, lept.PIX ppixd)
public static lept.PIX pixSauvolaGetThreshold(lept.PIX pixm, lept.PIX pixms, float factor, PointerPointer ppixsd)
public static lept.PIX pixSauvolaGetThreshold(lept.PIX pixm, lept.PIX pixms, float factor, lept.PIX ppixsd)
public static lept.PIX pixApplyLocalThreshold(lept.PIX pixs, lept.PIX pixth, int redfactor)
public static int pixThresholdByConnComp(lept.PIX pixs, lept.PIX pixm, int start, int end, int incr, float thresh48, float threshdiff, IntPointer pglobthresh, PointerPointer ppixd, int debugflag)
public static int pixThresholdByConnComp(lept.PIX pixs, lept.PIX pixm, int start, int end, int incr, float thresh48, float threshdiff, IntPointer pglobthresh, lept.PIX ppixd, int debugflag)
public static int pixThresholdByConnComp(lept.PIX pixs, lept.PIX pixm, int start, int end, int incr, float thresh48, float threshdiff, IntBuffer pglobthresh, lept.PIX ppixd, int debugflag)
public static int pixThresholdByConnComp(lept.PIX pixs, lept.PIX pixm, int start, int end, int incr, float thresh48, float threshdiff, int[] pglobthresh, lept.PIX ppixd, int debugflag)
public static lept.PIX pixReduceBinary2(lept.PIX pixs, BytePointer intab)
public static lept.PIX pixReduceBinary2(lept.PIX pixs, ByteBuffer intab)
public static lept.PIX pixReduceRankBinaryCascade(lept.PIX pixs, int level1, int level2, int level3, int level4)
public static lept.PIX pixReduceRankBinary2(lept.PIX pixs, int level, BytePointer intab)
public static lept.PIX pixReduceRankBinary2(lept.PIX pixs, int level, ByteBuffer intab)
public static lept.PIX pixReduceRankBinary2(lept.PIX pixs, int level, byte[] intab)
public static BytePointer makeSubsampleTab2x()
public static lept.PIX pixBlendMask(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float fract, int type)
public static lept.PIX pixBlendGray(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float fract, int type, int transparent, int transpix)
public static lept.PIX pixBlendGrayInverse(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float fract)
public static lept.PIX pixBlendColor(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float fract, int transparent, int transpix)
public static lept.PIX pixBlendColorByChannel(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float rfract, float gfract, float bfract, int transparent, int transpix)
public static lept.PIX pixBlendGrayAdapt(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float fract, int shift)
public static lept.PIX pixFadeWithGray(lept.PIX pixs, lept.PIX pixb, float factor, int type)
public static lept.PIX pixBlendHardLight(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int x, int y, float fract)
public static lept.PIX pixBlendWithGrayMask(lept.PIX pixs1, lept.PIX pixs2, lept.PIX pixg, int x, int y)
public static lept.PIX pixBlendBackgroundToColor(lept.PIX pixd, lept.PIX pixs, lept.BOX box, int color, float gamma, int minval, int maxval)
public static lept.PIX pixMultiplyByColor(lept.PIX pixd, lept.PIX pixs, lept.BOX box, int color)
public static lept.PIX pixAddAlphaToBlend(lept.PIX pixs, float fract, int invert)
public static lept.L_BMF bmfCreate(BytePointer dir, int size)
public static lept.L_BMF bmfCreate(String dir, int size)
public static void bmfDestroy(PointerPointer pbmf)
public static void bmfDestroy(lept.L_BMF pbmf)
public static lept.PIX bmfGetPix(lept.L_BMF bmf, byte chr)
public static int bmfGetWidth(lept.L_BMF bmf, byte chr, IntPointer pw)
public static int bmfGetWidth(lept.L_BMF bmf, byte chr, IntBuffer pw)
public static int bmfGetWidth(lept.L_BMF bmf, byte chr, int[] pw)
public static int bmfGetBaseline(lept.L_BMF bmf, byte chr, IntPointer pbaseline)
public static int bmfGetBaseline(lept.L_BMF bmf, byte chr, IntBuffer pbaseline)
public static int bmfGetBaseline(lept.L_BMF bmf, byte chr, int[] pbaseline)
public static lept.PIXA pixaGetFont(BytePointer dir, int size, IntPointer pbl0, IntPointer pbl1, IntPointer pbl2)
public static lept.PIXA pixaGetFont(String dir, int size, IntBuffer pbl0, IntBuffer pbl1, IntBuffer pbl2)
public static lept.PIXA pixaGetFont(BytePointer dir, int size, int[] pbl0, int[] pbl1, int[] pbl2)
public static lept.PIXA pixaGetFont(String dir, int size, IntPointer pbl0, IntPointer pbl1, IntPointer pbl2)
public static lept.PIXA pixaGetFont(BytePointer dir, int size, IntBuffer pbl0, IntBuffer pbl1, IntBuffer pbl2)
public static lept.PIXA pixaGetFont(String dir, int size, int[] pbl0, int[] pbl1, int[] pbl2)
public static int pixaSaveFont(BytePointer indir, BytePointer outdir, int size)
public static lept.PIXA pixaGenerateFont(BytePointer dir, int size, IntPointer pbl0, IntPointer pbl1, IntPointer pbl2)
public static lept.PIXA pixaGenerateFont(String dir, int size, IntBuffer pbl0, IntBuffer pbl1, IntBuffer pbl2)
public static lept.PIXA pixaGenerateFont(BytePointer dir, int size, int[] pbl0, int[] pbl1, int[] pbl2)
public static lept.PIXA pixaGenerateFont(String dir, int size, IntPointer pbl0, IntPointer pbl1, IntPointer pbl2)
public static lept.PIXA pixaGenerateFont(BytePointer dir, int size, IntBuffer pbl0, IntBuffer pbl1, IntBuffer pbl2)
public static lept.PIXA pixaGenerateFont(String dir, int size, int[] pbl0, int[] pbl1, int[] pbl2)
public static lept.PIX pixReadMemBmp(BytePointer cdata, long size)
public static lept.PIX pixReadMemBmp(ByteBuffer cdata, long size)
public static lept.PIX pixReadMemBmp(byte[] cdata, long size)
public static int pixWriteMemBmp(PointerPointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemBmp(BytePointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemBmp(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemBmp(byte[] pdata,
SizeTPointer psize,
lept.PIX pix)
public static lept.BOX boxCreate(int x, int y, int w, int h)
public static lept.BOX boxCreateValid(int x, int y, int w, int h)
public static void boxDestroy(PointerPointer pbox)
public static void boxDestroy(lept.BOX pbox)
public static int boxGetGeometry(lept.BOX box, IntPointer px, IntPointer py, IntPointer pw, IntPointer ph)
public static int boxGetGeometry(lept.BOX box, IntBuffer px, IntBuffer py, IntBuffer pw, IntBuffer ph)
public static int boxGetGeometry(lept.BOX box, int[] px, int[] py, int[] pw, int[] ph)
public static int boxSetGeometry(lept.BOX box, int x, int y, int w, int h)
public static int boxGetSideLocation(lept.BOX box, int side, IntPointer ploc)
public static int boxGetSideLocation(lept.BOX box, int side, int[] ploc)
public static int boxGetRefcount(lept.BOX box)
public static int boxChangeRefcount(lept.BOX box, int delta)
public static int boxIsValid(lept.BOX box, IntPointer pvalid)
public static int boxIsValid(lept.BOX box, int[] pvalid)
public static lept.BOXA boxaCreate(int n)
public static void boxaDestroy(PointerPointer pboxa)
public static void boxaDestroy(lept.BOXA pboxa)
public static int boxaExtendArray(lept.BOXA boxa)
public static int boxaExtendArrayToSize(lept.BOXA boxa, int size)
public static int boxaGetCount(lept.BOXA boxa)
public static int boxaGetValidCount(lept.BOXA boxa)
public static int boxaGetBoxGeometry(lept.BOXA boxa, int index, IntPointer px, IntPointer py, IntPointer pw, IntPointer ph)
public static int boxaGetBoxGeometry(lept.BOXA boxa, int index, IntBuffer px, IntBuffer py, IntBuffer pw, IntBuffer ph)
public static int boxaGetBoxGeometry(lept.BOXA boxa, int index, int[] px, int[] py, int[] pw, int[] ph)
public static int boxaIsFull(lept.BOXA boxa, IntPointer pfull)
public static int boxaIsFull(lept.BOXA boxa, int[] pfull)
public static int boxaRemoveBox(lept.BOXA boxa, int index)
public static int boxaRemoveBoxAndSave(lept.BOXA boxa, int index, PointerPointer pbox)
public static int boxaRemoveBoxAndSave(lept.BOXA boxa, int index, lept.BOX pbox)
public static int boxaClear(lept.BOXA boxa)
public static lept.BOXAA boxaaCreate(int n)
public static lept.BOXAA boxaaCopy(lept.BOXAA baas, int copyflag)
public static void boxaaDestroy(PointerPointer pbaa)
public static void boxaaDestroy(lept.BOXAA pbaa)
public static int boxaaAddBoxa(lept.BOXAA baa, lept.BOXA ba, int copyflag)
public static int boxaaExtendArray(lept.BOXAA baa)
public static int boxaaExtendArrayToSize(lept.BOXAA baa, int size)
public static int boxaaGetCount(lept.BOXAA baa)
public static int boxaaGetBoxCount(lept.BOXAA baa)
public static lept.BOXA boxaaGetBoxa(lept.BOXAA baa, int index, int accessflag)
public static lept.BOX boxaaGetBox(lept.BOXAA baa, int iboxa, int ibox, int accessflag)
public static int boxaaInitFull(lept.BOXAA baa, lept.BOXA boxa)
public static int boxaaExtendWithInit(lept.BOXAA baa, int maxindex, lept.BOXA boxa)
public static int boxaaReplaceBoxa(lept.BOXAA baa, int index, lept.BOXA boxa)
public static int boxaaInsertBoxa(lept.BOXAA baa, int index, lept.BOXA boxa)
public static int boxaaRemoveBoxa(lept.BOXAA baa, int index)
public static int boxaaAddBox(lept.BOXAA baa, int index, lept.BOX box, int accessflag)
public static lept.BOXAA boxaaReadFromFiles(BytePointer dirname, BytePointer substr, int first, int nfiles)
public static lept.BOXAA boxaaReadFromFiles(String dirname, String substr, int first, int nfiles)
public static lept.BOXAA boxaaRead(BytePointer filename)
public static lept.BOXAA boxaaRead(String filename)
public static lept.BOXAA boxaaReadStream(Pointer fp)
public static int boxaaWrite(BytePointer filename, lept.BOXAA baa)
public static int boxaaWrite(String filename, lept.BOXAA baa)
public static int boxaaWriteStream(Pointer fp, lept.BOXAA baa)
public static lept.BOXA boxaRead(BytePointer filename)
public static lept.BOXA boxaReadMem(BytePointer data, long size)
public static lept.BOXA boxaReadMem(ByteBuffer data, long size)
public static lept.BOXA boxaReadMem(byte[] data, long size)
public static int boxaWrite(BytePointer filename, lept.BOXA boxa)
public static int boxaWriteMem(PointerPointer pdata, SizeTPointer psize, lept.BOXA boxa)
public static int boxaWriteMem(BytePointer pdata, SizeTPointer psize, lept.BOXA boxa)
public static int boxaWriteMem(ByteBuffer pdata, SizeTPointer psize, lept.BOXA boxa)
public static int boxaWriteMem(byte[] pdata,
SizeTPointer psize,
lept.BOXA boxa)
public static int boxContains(lept.BOX box1, lept.BOX box2, IntPointer presult)
public static int boxIntersects(lept.BOX box1, lept.BOX box2, IntPointer presult)
public static int boxOverlapFraction(lept.BOX box1, lept.BOX box2, FloatPointer pfract)
public static int boxOverlapFraction(lept.BOX box1, lept.BOX box2, FloatBuffer pfract)
public static int boxOverlapFraction(lept.BOX box1, lept.BOX box2, float[] pfract)
public static int boxOverlapArea(lept.BOX box1, lept.BOX box2, IntPointer parea)
public static lept.BOXA boxaHandleOverlaps(lept.BOXA boxas, int op, int range, float min_overlap, float max_ratio, PointerPointer pnamap)
public static lept.BOXA boxaHandleOverlaps(lept.BOXA boxas, int op, int range, float min_overlap, float max_ratio, lept.NUMA pnamap)
public static int boxSeparationDistance(lept.BOX box1, lept.BOX box2, IntPointer ph_sep, IntPointer pv_sep)
public static int boxSeparationDistance(lept.BOX box1, lept.BOX box2, IntBuffer ph_sep, IntBuffer pv_sep)
public static int boxSeparationDistance(lept.BOX box1, lept.BOX box2, int[] ph_sep, int[] pv_sep)
public static int boxContainsPt(lept.BOX box, float x, float y, IntPointer pcontains)
public static int boxContainsPt(lept.BOX box, float x, float y, int[] pcontains)
public static int boxGetCenter(lept.BOX box, FloatPointer pcx, FloatPointer pcy)
public static int boxGetCenter(lept.BOX box, FloatBuffer pcx, FloatBuffer pcy)
public static int boxGetCenter(lept.BOX box, float[] pcx, float[] pcy)
public static int boxIntersectByLine(lept.BOX box, int x, int y, float slope, IntPointer px1, IntPointer py1, IntPointer px2, IntPointer py2, IntPointer pn)
public static int boxIntersectByLine(lept.BOX box, int x, int y, float slope, IntBuffer px1, IntBuffer py1, IntBuffer px2, IntBuffer py2, IntBuffer pn)
public static int boxIntersectByLine(lept.BOX box, int x, int y, float slope, int[] px1, int[] py1, int[] px2, int[] py2, int[] pn)
public static int boxClipToRectangleParams(lept.BOX box, int w, int h, IntPointer pxstart, IntPointer pystart, IntPointer pxend, IntPointer pyend, IntPointer pbw, IntPointer pbh)
public static int boxClipToRectangleParams(lept.BOX box, int w, int h, IntBuffer pxstart, IntBuffer pystart, IntBuffer pxend, IntBuffer pyend, IntBuffer pbw, IntBuffer pbh)
public static int boxClipToRectangleParams(lept.BOX box, int w, int h, int[] pxstart, int[] pystart, int[] pxend, int[] pyend, int[] pbw, int[] pbh)
public static lept.BOX boxRelocateOneSide(lept.BOX boxd, lept.BOX boxs, int loc, int sideflag)
public static lept.BOX boxAdjustSides(lept.BOX boxd, lept.BOX boxs, int delleft, int delright, int deltop, int delbot)
public static lept.BOXA boxaSetSide(lept.BOXA boxad, lept.BOXA boxas, int side, int val, int thresh)
public static lept.BOXA boxaAdjustWidthToTarget(lept.BOXA boxad, lept.BOXA boxas, int sides, int target, int thresh)
public static lept.BOXA boxaAdjustHeightToTarget(lept.BOXA boxad, lept.BOXA boxas, int sides, int target, int thresh)
public static int boxEqual(lept.BOX box1, lept.BOX box2, IntPointer psame)
public static int boxaEqual(lept.BOXA boxa1, lept.BOXA boxa2, int maxdist, PointerPointer pnaindex, IntPointer psame)
public static int boxaEqual(lept.BOXA boxa1, lept.BOXA boxa2, int maxdist, lept.NUMA pnaindex, IntPointer psame)
public static int boxaEqual(lept.BOXA boxa1, lept.BOXA boxa2, int maxdist, lept.NUMA pnaindex, IntBuffer psame)
public static int boxaEqual(lept.BOXA boxa1, lept.BOXA boxa2, int maxdist, lept.NUMA pnaindex, int[] psame)
public static int boxSimilar(lept.BOX box1, lept.BOX box2, int leftdiff, int rightdiff, int topdiff, int botdiff, IntPointer psimilar)
public static int boxSimilar(lept.BOX box1, lept.BOX box2, int leftdiff, int rightdiff, int topdiff, int botdiff, IntBuffer psimilar)
public static int boxSimilar(lept.BOX box1, lept.BOX box2, int leftdiff, int rightdiff, int topdiff, int botdiff, int[] psimilar)
public static int boxaSimilar(lept.BOXA boxa1, lept.BOXA boxa2, int leftdiff, int rightdiff, int topdiff, int botdiff, int debugflag, IntPointer psimilar)
public static int boxaSimilar(lept.BOXA boxa1, lept.BOXA boxa2, int leftdiff, int rightdiff, int topdiff, int botdiff, int debugflag, IntBuffer psimilar)
public static int boxaSimilar(lept.BOXA boxa1, lept.BOXA boxa2, int leftdiff, int rightdiff, int topdiff, int botdiff, int debugflag, int[] psimilar)
public static int boxaaJoin(lept.BOXAA baad, lept.BOXAA baas, int istart, int iend)
public static int boxaSplitEvenOdd(lept.BOXA boxa, int fillflag, PointerPointer pboxae, PointerPointer pboxao)
public static int boxaSplitEvenOdd(lept.BOXA boxa, int fillflag, lept.BOXA pboxae, lept.BOXA pboxao)
public static lept.BOXA boxaMergeEvenOdd(lept.BOXA boxae, lept.BOXA boxao, int fillflag)
public static lept.BOXA boxaTransform(lept.BOXA boxas, int shiftx, int shifty, float scalex, float scaley)
public static lept.BOX boxTransform(lept.BOX box, int shiftx, int shifty, float scalex, float scaley)
public static lept.BOXA boxaTransformOrdered(lept.BOXA boxas, int shiftx, int shifty, float scalex, float scaley, int xcen, int ycen, float angle, int order)
public static lept.BOX boxTransformOrdered(lept.BOX boxs, int shiftx, int shifty, float scalex, float scaley, int xcen, int ycen, float angle, int order)
public static lept.BOXA boxaSort(lept.BOXA boxas, int sorttype, int sortorder, PointerPointer pnaindex)
public static lept.BOXA boxaSort(lept.BOXA boxas, int sorttype, int sortorder, lept.NUMA pnaindex)
public static lept.BOXA boxaBinSort(lept.BOXA boxas, int sorttype, int sortorder, PointerPointer pnaindex)
public static lept.BOXA boxaBinSort(lept.BOXA boxas, int sorttype, int sortorder, lept.NUMA pnaindex)
public static lept.BOXAA boxaSort2d(lept.BOXA boxas, PointerPointer pnaad, int delta1, int delta2, int minh1)
public static lept.BOXAA boxaSort2d(lept.BOXA boxas, lept.NUMAA pnaad, int delta1, int delta2, int minh1)
public static lept.BOXAA boxaSort2dByIndex(lept.BOXA boxas, lept.NUMAA naa)
public static int boxaExtractAsNuma(lept.BOXA boxa, PointerPointer pnax, PointerPointer pnay, PointerPointer pnaw, PointerPointer pnah, int keepinvalid)
public static int boxaExtractAsNuma(lept.BOXA boxa, lept.NUMA pnax, lept.NUMA pnay, lept.NUMA pnaw, lept.NUMA pnah, int keepinvalid)
public static int boxaExtractAsPta(lept.BOXA boxa, PointerPointer pptal, PointerPointer pptat, PointerPointer pptar, PointerPointer pptab, int keepinvalid)
public static int boxaExtractAsPta(lept.BOXA boxa, lept.PTA pptal, lept.PTA pptat, lept.PTA pptar, lept.PTA pptab, int keepinvalid)
public static int boxaGetAverageSize(lept.BOXA boxa, FloatPointer pw, FloatPointer ph)
public static int boxaGetAverageSize(lept.BOXA boxa, FloatBuffer pw, FloatBuffer ph)
public static int boxaGetAverageSize(lept.BOXA boxa, float[] pw, float[] ph)
public static int boxaaGetExtent(lept.BOXAA baa, IntPointer pw, IntPointer ph, PointerPointer pbox, PointerPointer pboxa)
public static int boxaaGetExtent(lept.BOXAA baa, IntPointer pw, IntPointer ph, lept.BOX pbox, lept.BOXA pboxa)
public static int boxaaGetExtent(lept.BOXAA baa, IntBuffer pw, IntBuffer ph, lept.BOX pbox, lept.BOXA pboxa)
public static int boxaaGetExtent(lept.BOXAA baa, int[] pw, int[] ph, lept.BOX pbox, lept.BOXA pboxa)
public static lept.BOXA boxaaFlattenToBoxa(lept.BOXAA baa, PointerPointer pnaindex, int copyflag)
public static lept.BOXA boxaaFlattenToBoxa(lept.BOXAA baa, lept.NUMA pnaindex, int copyflag)
public static lept.BOXA boxaaFlattenAligned(lept.BOXAA baa, int num, lept.BOX fillerbox, int copyflag)
public static lept.BOXAA boxaEncapsulateAligned(lept.BOXA boxa, int num, int copyflag)
public static int boxaaAlignBox(lept.BOXAA baa, lept.BOX box, int delta, IntPointer pindex)
public static int boxaaAlignBox(lept.BOXAA baa, lept.BOX box, int delta, IntBuffer pindex)
public static int boxaaAlignBox(lept.BOXAA baa, lept.BOX box, int delta, int[] pindex)
public static lept.PIX pixMaskConnComp(lept.PIX pixs, int connectivity, PointerPointer pboxa)
public static lept.PIX pixMaskConnComp(lept.PIX pixs, int connectivity, lept.BOXA pboxa)
public static lept.PIX pixMaskBoxa(lept.PIX pixd, lept.PIX pixs, lept.BOXA boxa, int op)
public static lept.PIX pixSetBlackOrWhiteBoxa(lept.PIX pixs, lept.BOXA boxa, int op)
public static lept.PIX pixBlendBoxaRandom(lept.PIX pixs, lept.BOXA boxa, float fract)
public static lept.PIX pixDrawBoxaRandom(lept.PIX pixs, lept.BOXA boxa, int width)
public static lept.PIX boxaaDisplay(lept.BOXAA baa, int linewba, int linewb, int colorba, int colorb, int w, int h)
public static lept.BOXA pixSplitIntoBoxa(lept.PIX pixs, int minsum, int skipdist, int delta, int maxbg, int maxcomps, int remainder)
public static lept.BOXA pixSplitComponentIntoBoxa(lept.PIX pix, lept.BOX box, int minsum, int skipdist, int delta, int maxbg, int maxcomps, int remainder)
public static lept.BOXA makeMosaicStrips(int w, int h, int direction, int size)
public static int boxaCompareRegions(lept.BOXA boxa1, lept.BOXA boxa2, int areathresh, IntPointer pnsame, FloatPointer pdiffarea, FloatPointer pdiffxor, PointerPointer ppixdb)
public static int boxaCompareRegions(lept.BOXA boxa1, lept.BOXA boxa2, int areathresh, IntPointer pnsame, FloatPointer pdiffarea, FloatPointer pdiffxor, lept.PIX ppixdb)
public static int boxaCompareRegions(lept.BOXA boxa1, lept.BOXA boxa2, int areathresh, IntBuffer pnsame, FloatBuffer pdiffarea, FloatBuffer pdiffxor, lept.PIX ppixdb)
public static int boxaCompareRegions(lept.BOXA boxa1, lept.BOXA boxa2, int areathresh, int[] pnsame, float[] pdiffarea, float[] pdiffxor, lept.PIX ppixdb)
public static lept.BOXA boxaSelectRange(lept.BOXA boxas, int first, int last, int copyflag)
public static lept.BOXAA boxaaSelectRange(lept.BOXAA baas, int first, int last, int copyflag)
public static lept.BOXA boxaSelectBySize(lept.BOXA boxas, int width, int height, int type, int relation, IntPointer pchanged)
public static lept.BOXA boxaSelectBySize(lept.BOXA boxas, int width, int height, int type, int relation, IntBuffer pchanged)
public static lept.BOXA boxaSelectBySize(lept.BOXA boxas, int width, int height, int type, int relation, int[] pchanged)
public static lept.NUMA boxaMakeSizeIndicator(lept.BOXA boxa, int width, int height, int type, int relation)
public static lept.BOXA boxaSelectByArea(lept.BOXA boxas, int area, int relation, IntPointer pchanged)
public static lept.BOXA boxaSelectByArea(lept.BOXA boxas, int area, int relation, IntBuffer pchanged)
public static lept.BOXA boxaSelectByArea(lept.BOXA boxas, int area, int relation, int[] pchanged)
public static lept.NUMA boxaMakeAreaIndicator(lept.BOXA boxa, int area, int relation)
public static lept.BOXA boxaSelectWithIndicator(lept.BOXA boxas, lept.NUMA na, IntPointer pchanged)
public static lept.BOXA boxaSelectWithIndicator(lept.BOXA boxas, lept.NUMA na, IntBuffer pchanged)
public static lept.BOXA boxaSelectWithIndicator(lept.BOXA boxas, lept.NUMA na, int[] pchanged)
public static int boxaSwapBoxes(lept.BOXA boxa, int i, int j)
public static lept.BOXA boxaSmoothSequence(lept.BOXA boxas, float factor, int subflag, int maxdiff, int debug)
public static lept.BOXA boxaModifyWithBoxa(lept.BOXA boxas, lept.BOXA boxam, int subflag, int maxdiff)
public static lept.BOXA boxaConstrainSize(lept.BOXA boxas, int width, int widthflag, int height, int heightflag)
public static lept.BOXA boxaReconcileEvenOddHeight(lept.BOXA boxas, int sides, int delh, int op, float factor)
public static int boxaPlotSides(lept.BOXA boxa, BytePointer plotname, PointerPointer pnal, PointerPointer pnat, PointerPointer pnar, PointerPointer pnab, int outformat)
public static int boxaPlotSides(lept.BOXA boxa, BytePointer plotname, lept.NUMA pnal, lept.NUMA pnat, lept.NUMA pnar, lept.NUMA pnab, int outformat)
public static int boxaPlotSides(lept.BOXA boxa, String plotname, lept.NUMA pnal, lept.NUMA pnat, lept.NUMA pnar, lept.NUMA pnab, int outformat)
public static int boxaGetExtent(lept.BOXA boxa, IntPointer pw, IntPointer ph, PointerPointer pbox)
public static int boxaGetExtent(lept.BOXA boxa, IntPointer pw, IntPointer ph, lept.BOX pbox)
public static int boxaGetExtent(lept.BOXA boxa, IntBuffer pw, IntBuffer ph, lept.BOX pbox)
public static int boxaGetCoverage(lept.BOXA boxa, int wc, int hc, int exactflag, FloatPointer pfract)
public static int boxaGetCoverage(lept.BOXA boxa, int wc, int hc, int exactflag, FloatBuffer pfract)
public static int boxaGetCoverage(lept.BOXA boxa, int wc, int hc, int exactflag, float[] pfract)
public static int boxaaSizeRange(lept.BOXAA baa, IntPointer pminw, IntPointer pminh, IntPointer pmaxw, IntPointer pmaxh)
public static int boxaaSizeRange(lept.BOXAA baa, IntBuffer pminw, IntBuffer pminh, IntBuffer pmaxw, IntBuffer pmaxh)
public static int boxaaSizeRange(lept.BOXAA baa, int[] pminw, int[] pminh, int[] pmaxw, int[] pmaxh)
public static int boxaSizeRange(lept.BOXA boxa, IntPointer pminw, IntPointer pminh, IntPointer pmaxw, IntPointer pmaxh)
public static int boxaSizeRange(lept.BOXA boxa, IntBuffer pminw, IntBuffer pminh, IntBuffer pmaxw, IntBuffer pmaxh)
public static int boxaSizeRange(lept.BOXA boxa, int[] pminw, int[] pminh, int[] pmaxw, int[] pmaxh)
public static int boxaLocationRange(lept.BOXA boxa, IntPointer pminx, IntPointer pminy, IntPointer pmaxx, IntPointer pmaxy)
public static int boxaLocationRange(lept.BOXA boxa, IntBuffer pminx, IntBuffer pminy, IntBuffer pmaxx, IntBuffer pmaxy)
public static int boxaLocationRange(lept.BOXA boxa, int[] pminx, int[] pminy, int[] pmaxx, int[] pmaxy)
public static int boxaGetArea(lept.BOXA boxa, IntPointer parea)
public static int boxaGetArea(lept.BOXA boxa, int[] parea)
public static lept.PIX boxaDisplayTiled(lept.BOXA boxas, lept.PIXA pixa, int maxwidth, int linewidth, float scalefactor, int background, int spacing, int border, BytePointer fontdir)
public static lept.PIX boxaDisplayTiled(lept.BOXA boxas, lept.PIXA pixa, int maxwidth, int linewidth, float scalefactor, int background, int spacing, int border, String fontdir)
public static lept.L_BYTEA l_byteaCreate(long nbytes)
public static lept.L_BYTEA l_byteaInitFromMem(BytePointer data, long size)
public static lept.L_BYTEA l_byteaInitFromMem(ByteBuffer data, long size)
public static lept.L_BYTEA l_byteaInitFromMem(byte[] data, long size)
public static lept.L_BYTEA l_byteaInitFromFile(BytePointer fname)
public static lept.L_BYTEA l_byteaInitFromFile(String fname)
public static lept.L_BYTEA l_byteaInitFromStream(Pointer fp)
public static lept.L_BYTEA l_byteaCopy(lept.L_BYTEA bas, int copyflag)
public static void l_byteaDestroy(PointerPointer pba)
public static void l_byteaDestroy(lept.L_BYTEA pba)
public static long l_byteaGetSize(lept.L_BYTEA ba)
public static BytePointer l_byteaGetData(lept.L_BYTEA ba, SizeTPointer psize)
public static BytePointer l_byteaCopyData(lept.L_BYTEA ba, SizeTPointer psize)
public static int l_byteaAppendData(lept.L_BYTEA ba, BytePointer newdata, long newbytes)
public static int l_byteaAppendData(lept.L_BYTEA ba, ByteBuffer newdata, long newbytes)
public static int l_byteaAppendData(lept.L_BYTEA ba, byte[] newdata, long newbytes)
public static int l_byteaAppendString(lept.L_BYTEA ba, BytePointer str)
public static int l_byteaAppendString(lept.L_BYTEA ba, ByteBuffer str)
public static int l_byteaAppendString(lept.L_BYTEA ba, byte[] str)
public static int l_byteaJoin(lept.L_BYTEA ba1, PointerPointer pba2)
public static int l_byteaJoin(lept.L_BYTEA ba1, lept.L_BYTEA pba2)
public static int l_byteaSplit(lept.L_BYTEA ba1, long splitloc, PointerPointer pba2)
public static int l_byteaSplit(lept.L_BYTEA ba1, long splitloc, lept.L_BYTEA pba2)
public static int l_byteaFindEachSequence(lept.L_BYTEA ba, BytePointer sequence, int seqlen, PointerPointer pda)
public static int l_byteaFindEachSequence(lept.L_BYTEA ba, BytePointer sequence, int seqlen, lept.L_DNA pda)
public static int l_byteaFindEachSequence(lept.L_BYTEA ba, ByteBuffer sequence, int seqlen, lept.L_DNA pda)
public static int l_byteaFindEachSequence(lept.L_BYTEA ba, byte[] sequence, int seqlen, lept.L_DNA pda)
public static int l_byteaWrite(BytePointer fname, lept.L_BYTEA ba, long startloc, long endloc)
public static int l_byteaWrite(String fname, lept.L_BYTEA ba, long startloc, long endloc)
public static int l_byteaWriteStream(Pointer fp, lept.L_BYTEA ba, long startloc, long endloc)
public static lept.CCBORDA ccbaCreate(lept.PIX pixs, int n)
public static void ccbaDestroy(PointerPointer pccba)
public static void ccbaDestroy(lept.CCBORDA pccba)
public static lept.CCBORD ccbCreate(lept.PIX pixs)
public static void ccbDestroy(PointerPointer pccb)
public static void ccbDestroy(lept.CCBORD pccb)
public static int ccbaAddCcb(lept.CCBORDA ccba, lept.CCBORD ccb)
public static int ccbaGetCount(lept.CCBORDA ccba)
public static lept.CCBORD ccbaGetCcb(lept.CCBORDA ccba, int index)
public static lept.CCBORDA pixGetAllCCBorders(lept.PIX pixs)
public static lept.CCBORD pixGetCCBorders(lept.PIX pixs, lept.BOX box)
public static int pixGetOuterBorder(lept.CCBORD ccb, lept.PIX pixs, lept.BOX box)
public static int pixGetHoleBorder(lept.CCBORD ccb, lept.PIX pixs, lept.BOX box, int xs, int ys)
public static int findNextBorderPixel(int w,
int h,
IntPointer data,
int wpl,
int px,
int py,
IntPointer pqpos,
IntPointer pnpx,
IntPointer pnpy)
public static int findNextBorderPixel(int w,
int h,
IntBuffer data,
int wpl,
int px,
int py,
IntBuffer pqpos,
IntBuffer pnpx,
IntBuffer pnpy)
public static int findNextBorderPixel(int w,
int h,
int[] data,
int wpl,
int px,
int py,
int[] pqpos,
int[] pnpx,
int[] pnpy)
public static void locateOutsideSeedPixel(int fpx,
int fpy,
int spx,
int spy,
IntPointer pxs,
IntPointer pys)
public static void locateOutsideSeedPixel(int fpx,
int fpy,
int spx,
int spy,
IntBuffer pxs,
IntBuffer pys)
public static void locateOutsideSeedPixel(int fpx,
int fpy,
int spx,
int spy,
int[] pxs,
int[] pys)
public static int ccbaGenerateGlobalLocs(lept.CCBORDA ccba)
public static int ccbaGenerateStepChains(lept.CCBORDA ccba)
public static int ccbaStepChainsToPixCoords(lept.CCBORDA ccba, int coordtype)
public static int ccbaGenerateSPGlobalLocs(lept.CCBORDA ccba, int ptsflag)
public static int ccbaGenerateSinglePath(lept.CCBORDA ccba)
public static lept.PTA getCutPathForHole(lept.PIX pix, lept.PTA pta, lept.BOX boxinner, IntPointer pdir, IntPointer plen)
public static lept.PTA getCutPathForHole(lept.PIX pix, lept.PTA pta, lept.BOX boxinner, IntBuffer pdir, IntBuffer plen)
public static lept.PTA getCutPathForHole(lept.PIX pix, lept.PTA pta, lept.BOX boxinner, int[] pdir, int[] plen)
public static lept.PIX ccbaDisplayBorder(lept.CCBORDA ccba)
public static lept.PIX ccbaDisplaySPBorder(lept.CCBORDA ccba)
public static lept.PIX ccbaDisplayImage1(lept.CCBORDA ccba)
public static lept.PIX ccbaDisplayImage2(lept.CCBORDA ccba)
public static int ccbaWrite(BytePointer filename, lept.CCBORDA ccba)
public static int ccbaWrite(String filename, lept.CCBORDA ccba)
public static int ccbaWriteStream(Pointer fp, lept.CCBORDA ccba)
public static lept.CCBORDA ccbaRead(BytePointer filename)
public static lept.CCBORDA ccbaRead(String filename)
public static lept.CCBORDA ccbaReadStream(Pointer fp)
public static int ccbaWriteSVG(BytePointer filename, lept.CCBORDA ccba)
public static int ccbaWriteSVG(String filename, lept.CCBORDA ccba)
public static BytePointer ccbaWriteSVGString(BytePointer filename, lept.CCBORDA ccba)
public static ByteBuffer ccbaWriteSVGString(String filename, lept.CCBORDA ccba)
public static lept.PIX pixThinGeneral(lept.PIX pixs, int type, lept.SELA sela, int maxiters)
public static lept.PIX pixThinExamples(lept.PIX pixs, int type, int index, int maxiters, BytePointer selfile)
public static lept.PIX pixThinExamples(lept.PIX pixs, int type, int index, int maxiters, String selfile)
public static int jbCorrelation(BytePointer dirin, float thresh, float weight, int components, BytePointer rootname, int firstpage, int npages, int renderflag)
public static int jbCorrelation(String dirin, float thresh, float weight, int components, String rootname, int firstpage, int npages, int renderflag)
public static int jbRankHaus(BytePointer dirin, int size, float rank, int components, BytePointer rootname, int firstpage, int npages, int renderflag)
public static int jbRankHaus(String dirin, int size, float rank, int components, String rootname, int firstpage, int npages, int renderflag)
public static lept.JBCLASSER jbWordsInTextlines(BytePointer dirin, int reduction, int maxwidth, int maxheight, float thresh, float weight, PointerPointer pnatl, int firstpage, int npages)
public static lept.JBCLASSER jbWordsInTextlines(BytePointer dirin, int reduction, int maxwidth, int maxheight, float thresh, float weight, lept.NUMA pnatl, int firstpage, int npages)
public static lept.JBCLASSER jbWordsInTextlines(String dirin, int reduction, int maxwidth, int maxheight, float thresh, float weight, lept.NUMA pnatl, int firstpage, int npages)
public static int pixGetWordsInTextlines(lept.PIX pixs, int reduction, int minwidth, int minheight, int maxwidth, int maxheight, PointerPointer pboxad, PointerPointer ppixad, PointerPointer pnai)
public static int pixGetWordsInTextlines(lept.PIX pixs, int reduction, int minwidth, int minheight, int maxwidth, int maxheight, lept.BOXA pboxad, lept.PIXA ppixad, lept.NUMA pnai)
public static int pixGetWordBoxesInTextlines(lept.PIX pixs, int reduction, int minwidth, int minheight, int maxwidth, int maxheight, PointerPointer pboxad, PointerPointer pnai)
public static int pixGetWordBoxesInTextlines(lept.PIX pixs, int reduction, int minwidth, int minheight, int maxwidth, int maxheight, lept.BOXA pboxad, lept.NUMA pnai)
public static lept.NUMAA boxaExtractSortedPattern(lept.BOXA boxa, lept.NUMA na)
public static int numaaCompareImagesByBoxes(lept.NUMAA naa1, lept.NUMAA naa2, int nperline, int nreq, int maxshiftx, int maxshifty, int delx, int dely, IntPointer psame, int debugflag)
public static int numaaCompareImagesByBoxes(lept.NUMAA naa1, lept.NUMAA naa2, int nperline, int nreq, int maxshiftx, int maxshifty, int delx, int dely, IntBuffer psame, int debugflag)
public static int numaaCompareImagesByBoxes(lept.NUMAA naa1, lept.NUMAA naa2, int nperline, int nreq, int maxshiftx, int maxshifty, int delx, int dely, int[] psame, int debugflag)
public static int pixColorContent(lept.PIX pixs, int rwhite, int gwhite, int bwhite, int mingray, PointerPointer ppixr, PointerPointer ppixg, PointerPointer ppixb)
public static int pixColorContent(lept.PIX pixs, int rwhite, int gwhite, int bwhite, int mingray, lept.PIX ppixr, lept.PIX ppixg, lept.PIX ppixb)
public static lept.PIX pixColorMagnitude(lept.PIX pixs, int rwhite, int gwhite, int bwhite, int type)
public static lept.PIX pixMaskOverColorPixels(lept.PIX pixs, int threshdiff, int mindist)
public static int pixColorFraction(lept.PIX pixs, int darkthresh, int lightthresh, int diffthresh, int factor, FloatPointer ppixfract, FloatPointer pcolorfract)
public static int pixColorFraction(lept.PIX pixs, int darkthresh, int lightthresh, int diffthresh, int factor, FloatBuffer ppixfract, FloatBuffer pcolorfract)
public static int pixColorFraction(lept.PIX pixs, int darkthresh, int lightthresh, int diffthresh, int factor, float[] ppixfract, float[] pcolorfract)
public static int pixNumSignificantGrayColors(lept.PIX pixs, int darkthresh, int lightthresh, float minfract, int factor, IntPointer pncolors)
public static int pixNumSignificantGrayColors(lept.PIX pixs, int darkthresh, int lightthresh, float minfract, int factor, IntBuffer pncolors)
public static int pixNumSignificantGrayColors(lept.PIX pixs, int darkthresh, int lightthresh, float minfract, int factor, int[] pncolors)
public static int pixColorsForQuantization(lept.PIX pixs, int thresh, IntPointer pncolors, IntPointer piscolor, int debug)
public static int pixColorsForQuantization(lept.PIX pixs, int thresh, IntBuffer pncolors, IntBuffer piscolor, int debug)
public static int pixColorsForQuantization(lept.PIX pixs, int thresh, int[] pncolors, int[] piscolor, int debug)
public static int pixNumColors(lept.PIX pixs, int factor, IntPointer pncolors)
public static int pixNumColors(lept.PIX pixs, int factor, int[] pncolors)
public static int pixGetMostPopulatedColors(lept.PIX pixs, int sigbits, int factor, int ncolors, PointerPointer parray, PointerPointer pcmap)
public static int pixGetMostPopulatedColors(lept.PIX pixs, int sigbits, int factor, int ncolors, IntPointer parray, lept.PIXCMAP pcmap)
public static int pixGetMostPopulatedColors(lept.PIX pixs, int sigbits, int factor, int ncolors, IntBuffer parray, lept.PIXCMAP pcmap)
public static int pixGetMostPopulatedColors(lept.PIX pixs, int sigbits, int factor, int ncolors, int[] parray, lept.PIXCMAP pcmap)
public static lept.PIX pixSimpleColorQuantize(lept.PIX pixs, int sigbits, int factor, int ncolors)
public static lept.NUMA pixGetRGBHistogram(lept.PIX pixs, int sigbits, int factor)
public static int makeRGBIndexTables(PointerPointer prtab, PointerPointer pgtab, PointerPointer pbtab, int sigbits)
public static int makeRGBIndexTables(IntPointer prtab, IntPointer pgtab, IntPointer pbtab, int sigbits)
public static int makeRGBIndexTables(IntBuffer prtab, IntBuffer pgtab, IntBuffer pbtab, int sigbits)
public static int makeRGBIndexTables(int[] prtab,
int[] pgtab,
int[] pbtab,
int sigbits)
public static int getRGBFromIndex(int index,
int sigbits,
IntPointer prval,
IntPointer pgval,
IntPointer pbval)
public static int getRGBFromIndex(int index,
int sigbits,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval)
public static int getRGBFromIndex(int index,
int sigbits,
int[] prval,
int[] pgval,
int[] pbval)
public static int pixHasHighlightRed(lept.PIX pixs, int factor, float fract, float fthresh, IntPointer phasred, FloatPointer pratio, PointerPointer ppixdb)
public static int pixHasHighlightRed(lept.PIX pixs, int factor, float fract, float fthresh, IntPointer phasred, FloatPointer pratio, lept.PIX ppixdb)
public static int pixHasHighlightRed(lept.PIX pixs, int factor, float fract, float fthresh, IntBuffer phasred, FloatBuffer pratio, lept.PIX ppixdb)
public static int pixHasHighlightRed(lept.PIX pixs, int factor, float fract, float fthresh, int[] phasred, float[] pratio, lept.PIX ppixdb)
public static lept.PIX pixColorGrayRegions(lept.PIX pixs, lept.BOXA boxa, int type, int thresh, int rval, int gval, int bval)
public static int pixColorGray(lept.PIX pixs, lept.BOX box, int type, int thresh, int rval, int gval, int bval)
public static lept.PIX pixSnapColor(lept.PIX pixd, lept.PIX pixs, int srcval, int dstval, int diff)
public static lept.PIX pixSnapColorCmap(lept.PIX pixd, lept.PIX pixs, int srcval, int dstval, int diff)
public static lept.PIX pixLinearMapToTargetColor(lept.PIX pixd, lept.PIX pixs, int srcval, int dstval)
public static int pixelLinearMapToTargetColor(int scolor,
int srcmap,
int dstmap,
IntPointer pdcolor)
public static int pixelLinearMapToTargetColor(int scolor,
int srcmap,
int dstmap,
IntBuffer pdcolor)
public static int pixelLinearMapToTargetColor(int scolor,
int srcmap,
int dstmap,
int[] pdcolor)
public static lept.PIX pixShiftByComponent(lept.PIX pixd, lept.PIX pixs, int srcval, int dstval)
public static int pixelShiftByComponent(int rval,
int gval,
int bval,
int srcval,
int dstval,
IntPointer ppixel)
public static int pixelShiftByComponent(int rval,
int gval,
int bval,
int srcval,
int dstval,
IntBuffer ppixel)
public static int pixelShiftByComponent(int rval,
int gval,
int bval,
int srcval,
int dstval,
int[] ppixel)
public static int pixelFractionalShift(int rval,
int gval,
int bval,
float fraction,
IntPointer ppixel)
public static int pixelFractionalShift(int rval,
int gval,
int bval,
float fraction,
IntBuffer ppixel)
public static int pixelFractionalShift(int rval,
int gval,
int bval,
float fraction,
int[] ppixel)
public static lept.PIXCMAP pixcmapCreate(int depth)
public static lept.PIXCMAP pixcmapCreateRandom(int depth, int hasblack, int haswhite)
public static lept.PIXCMAP pixcmapCreateLinear(int d, int nlevels)
public static lept.PIXCMAP pixcmapCopy(lept.PIXCMAP cmaps)
public static void pixcmapDestroy(PointerPointer pcmap)
public static void pixcmapDestroy(lept.PIXCMAP pcmap)
public static int pixcmapAddColor(lept.PIXCMAP cmap, int rval, int gval, int bval)
public static int pixcmapAddRGBA(lept.PIXCMAP cmap, int rval, int gval, int bval, int aval)
public static int pixcmapAddNewColor(lept.PIXCMAP cmap, int rval, int gval, int bval, IntPointer pindex)
public static int pixcmapAddNewColor(lept.PIXCMAP cmap, int rval, int gval, int bval, IntBuffer pindex)
public static int pixcmapAddNewColor(lept.PIXCMAP cmap, int rval, int gval, int bval, int[] pindex)
public static int pixcmapAddNearestColor(lept.PIXCMAP cmap, int rval, int gval, int bval, IntPointer pindex)
public static int pixcmapAddNearestColor(lept.PIXCMAP cmap, int rval, int gval, int bval, IntBuffer pindex)
public static int pixcmapAddNearestColor(lept.PIXCMAP cmap, int rval, int gval, int bval, int[] pindex)
public static int pixcmapUsableColor(lept.PIXCMAP cmap, int rval, int gval, int bval, IntPointer pusable)
public static int pixcmapUsableColor(lept.PIXCMAP cmap, int rval, int gval, int bval, IntBuffer pusable)
public static int pixcmapUsableColor(lept.PIXCMAP cmap, int rval, int gval, int bval, int[] pusable)
public static int pixcmapAddBlackOrWhite(lept.PIXCMAP cmap, int color, IntPointer pindex)
public static int pixcmapAddBlackOrWhite(lept.PIXCMAP cmap, int color, IntBuffer pindex)
public static int pixcmapAddBlackOrWhite(lept.PIXCMAP cmap, int color, int[] pindex)
public static int pixcmapSetBlackAndWhite(lept.PIXCMAP cmap, int setblack, int setwhite)
public static int pixcmapGetCount(lept.PIXCMAP cmap)
public static int pixcmapGetFreeCount(lept.PIXCMAP cmap)
public static int pixcmapGetDepth(lept.PIXCMAP cmap)
public static int pixcmapGetMinDepth(lept.PIXCMAP cmap, IntPointer pmindepth)
public static int pixcmapGetMinDepth(lept.PIXCMAP cmap, IntBuffer pmindepth)
public static int pixcmapGetMinDepth(lept.PIXCMAP cmap, int[] pmindepth)
public static int pixcmapClear(lept.PIXCMAP cmap)
public static int pixcmapGetColor(lept.PIXCMAP cmap, int index, IntPointer prval, IntPointer pgval, IntPointer pbval)
public static int pixcmapGetColor(lept.PIXCMAP cmap, int index, IntBuffer prval, IntBuffer pgval, IntBuffer pbval)
public static int pixcmapGetColor(lept.PIXCMAP cmap, int index, int[] prval, int[] pgval, int[] pbval)
public static int pixcmapGetColor32(lept.PIXCMAP cmap, int index, IntPointer pval32)
public static int pixcmapGetColor32(lept.PIXCMAP cmap, int index, IntBuffer pval32)
public static int pixcmapGetColor32(lept.PIXCMAP cmap, int index, int[] pval32)
public static int pixcmapGetRGBA(lept.PIXCMAP cmap, int index, IntPointer prval, IntPointer pgval, IntPointer pbval, IntPointer paval)
public static int pixcmapGetRGBA(lept.PIXCMAP cmap, int index, IntBuffer prval, IntBuffer pgval, IntBuffer pbval, IntBuffer paval)
public static int pixcmapGetRGBA(lept.PIXCMAP cmap, int index, int[] prval, int[] pgval, int[] pbval, int[] paval)
public static int pixcmapGetRGBA32(lept.PIXCMAP cmap, int index, IntPointer pval32)
public static int pixcmapGetRGBA32(lept.PIXCMAP cmap, int index, IntBuffer pval32)
public static int pixcmapGetRGBA32(lept.PIXCMAP cmap, int index, int[] pval32)
public static int pixcmapResetColor(lept.PIXCMAP cmap, int index, int rval, int gval, int bval)
public static int pixcmapGetIndex(lept.PIXCMAP cmap, int rval, int gval, int bval, IntPointer pindex)
public static int pixcmapGetIndex(lept.PIXCMAP cmap, int rval, int gval, int bval, IntBuffer pindex)
public static int pixcmapGetIndex(lept.PIXCMAP cmap, int rval, int gval, int bval, int[] pindex)
public static int pixcmapHasColor(lept.PIXCMAP cmap, IntPointer pcolor)
public static int pixcmapHasColor(lept.PIXCMAP cmap, IntBuffer pcolor)
public static int pixcmapHasColor(lept.PIXCMAP cmap, int[] pcolor)
public static int pixcmapIsOpaque(lept.PIXCMAP cmap, IntPointer popaque)
public static int pixcmapIsOpaque(lept.PIXCMAP cmap, IntBuffer popaque)
public static int pixcmapIsOpaque(lept.PIXCMAP cmap, int[] popaque)
public static int pixcmapCountGrayColors(lept.PIXCMAP cmap, IntPointer pngray)
public static int pixcmapCountGrayColors(lept.PIXCMAP cmap, IntBuffer pngray)
public static int pixcmapCountGrayColors(lept.PIXCMAP cmap, int[] pngray)
public static int pixcmapGetRankIntensity(lept.PIXCMAP cmap, float rankval, IntPointer pindex)
public static int pixcmapGetRankIntensity(lept.PIXCMAP cmap, float rankval, IntBuffer pindex)
public static int pixcmapGetRankIntensity(lept.PIXCMAP cmap, float rankval, int[] pindex)
public static int pixcmapGetNearestIndex(lept.PIXCMAP cmap, int rval, int gval, int bval, IntPointer pindex)
public static int pixcmapGetNearestIndex(lept.PIXCMAP cmap, int rval, int gval, int bval, IntBuffer pindex)
public static int pixcmapGetNearestIndex(lept.PIXCMAP cmap, int rval, int gval, int bval, int[] pindex)
public static int pixcmapGetNearestGrayIndex(lept.PIXCMAP cmap, int val, IntPointer pindex)
public static int pixcmapGetNearestGrayIndex(lept.PIXCMAP cmap, int val, IntBuffer pindex)
public static int pixcmapGetNearestGrayIndex(lept.PIXCMAP cmap, int val, int[] pindex)
public static int pixcmapGetComponentRange(lept.PIXCMAP cmap, int color, IntPointer pminval, IntPointer pmaxval)
public static int pixcmapGetComponentRange(lept.PIXCMAP cmap, int color, IntBuffer pminval, IntBuffer pmaxval)
public static int pixcmapGetComponentRange(lept.PIXCMAP cmap, int color, int[] pminval, int[] pmaxval)
public static int pixcmapGetExtremeValue(lept.PIXCMAP cmap, int type, IntPointer prval, IntPointer pgval, IntPointer pbval)
public static int pixcmapGetExtremeValue(lept.PIXCMAP cmap, int type, IntBuffer prval, IntBuffer pgval, IntBuffer pbval)
public static int pixcmapGetExtremeValue(lept.PIXCMAP cmap, int type, int[] prval, int[] pgval, int[] pbval)
public static lept.PIXCMAP pixcmapGrayToColor(int color)
public static lept.PIXCMAP pixcmapColorToGray(lept.PIXCMAP cmaps, float rwt, float gwt, float bwt)
public static lept.PIXCMAP pixcmapReadStream(Pointer fp)
public static int pixcmapWriteStream(Pointer fp, lept.PIXCMAP cmap)
public static int pixcmapToArrays(lept.PIXCMAP cmap, PointerPointer prmap, PointerPointer pgmap, PointerPointer pbmap, PointerPointer pamap)
public static int pixcmapToArrays(lept.PIXCMAP cmap, IntPointer prmap, IntPointer pgmap, IntPointer pbmap, IntPointer pamap)
public static int pixcmapToArrays(lept.PIXCMAP cmap, IntBuffer prmap, IntBuffer pgmap, IntBuffer pbmap, IntBuffer pamap)
public static int pixcmapToArrays(lept.PIXCMAP cmap, int[] prmap, int[] pgmap, int[] pbmap, int[] pamap)
public static int pixcmapToRGBTable(lept.PIXCMAP cmap, PointerPointer ptab, IntPointer pncolors)
public static int pixcmapToRGBTable(lept.PIXCMAP cmap, IntPointer ptab, IntPointer pncolors)
public static int pixcmapToRGBTable(lept.PIXCMAP cmap, IntBuffer ptab, IntBuffer pncolors)
public static int pixcmapToRGBTable(lept.PIXCMAP cmap, int[] ptab, int[] pncolors)
public static int pixcmapSerializeToMemory(lept.PIXCMAP cmap, int cpc, IntPointer pncolors, PointerPointer pdata)
public static int pixcmapSerializeToMemory(lept.PIXCMAP cmap, int cpc, IntPointer pncolors, BytePointer pdata)
public static int pixcmapSerializeToMemory(lept.PIXCMAP cmap, int cpc, IntBuffer pncolors, ByteBuffer pdata)
public static int pixcmapSerializeToMemory(lept.PIXCMAP cmap, int cpc, int[] pncolors, byte[] pdata)
public static lept.PIXCMAP pixcmapDeserializeFromMemory(BytePointer data, int cpc, int ncolors)
public static lept.PIXCMAP pixcmapDeserializeFromMemory(ByteBuffer data, int cpc, int ncolors)
public static lept.PIXCMAP pixcmapDeserializeFromMemory(byte[] data, int cpc, int ncolors)
public static BytePointer pixcmapConvertToHex(BytePointer data, int ncolors)
public static ByteBuffer pixcmapConvertToHex(ByteBuffer data, int ncolors)
public static byte[] pixcmapConvertToHex(byte[] data,
int ncolors)
public static int pixcmapGammaTRC(lept.PIXCMAP cmap, float gamma, int minval, int maxval)
public static int pixcmapContrastTRC(lept.PIXCMAP cmap, float factor)
public static int pixcmapShiftIntensity(lept.PIXCMAP cmap, float fraction)
public static int pixcmapShiftByComponent(lept.PIXCMAP cmap, int srcval, int dstval)
public static lept.PIX pixOctreeColorQuant(lept.PIX pixs, int colors, int ditherflag)
public static lept.PIX pixOctreeColorQuantGeneral(lept.PIX pixs, int colors, int ditherflag, float validthresh, float colorthresh)
public static int makeRGBToIndexTables(PointerPointer prtab, PointerPointer pgtab, PointerPointer pbtab, int cqlevels)
public static int makeRGBToIndexTables(IntPointer prtab, IntPointer pgtab, IntPointer pbtab, int cqlevels)
public static int makeRGBToIndexTables(IntBuffer prtab, IntBuffer pgtab, IntBuffer pbtab, int cqlevels)
public static int makeRGBToIndexTables(int[] prtab,
int[] pgtab,
int[] pbtab,
int cqlevels)
public static void getOctcubeIndexFromRGB(int rval,
int gval,
int bval,
IntPointer rtab,
IntPointer gtab,
IntPointer btab,
IntPointer pindex)
public static void getOctcubeIndexFromRGB(int rval,
int gval,
int bval,
IntBuffer rtab,
IntBuffer gtab,
IntBuffer btab,
IntBuffer pindex)
public static void getOctcubeIndexFromRGB(int rval,
int gval,
int bval,
int[] rtab,
int[] gtab,
int[] btab,
int[] pindex)
public static lept.PIX pixOctreeQuantByPopulation(lept.PIX pixs, int level, int ditherflag)
public static lept.PIX pixOctreeQuantNumColors(lept.PIX pixs, int maxcolors, int subsample)
public static lept.PIX pixOctcubeQuantMixedWithGray(lept.PIX pixs, int depth, int graylevels, int delta)
public static lept.PIX pixFixedOctcubeQuant256(lept.PIX pixs, int ditherflag)
public static lept.PIX pixFewColorsOctcubeQuant1(lept.PIX pixs, int level)
public static lept.PIX pixFewColorsOctcubeQuant2(lept.PIX pixs, int level, lept.NUMA na, int ncolors, IntPointer pnerrors)
public static lept.PIX pixFewColorsOctcubeQuant2(lept.PIX pixs, int level, lept.NUMA na, int ncolors, IntBuffer pnerrors)
public static lept.PIX pixFewColorsOctcubeQuant2(lept.PIX pixs, int level, lept.NUMA na, int ncolors, int[] pnerrors)
public static lept.PIX pixFewColorsOctcubeQuantMixed(lept.PIX pixs, int level, int darkthresh, int lightthresh, int diffthresh, float minfract, int maxspan)
public static lept.PIX pixFixedOctcubeQuantGenRGB(lept.PIX pixs, int level)
public static lept.PIX pixQuantFromCmap(lept.PIX pixs, lept.PIXCMAP cmap, int mindepth, int level, int metric)
public static lept.PIX pixOctcubeQuantFromCmap(lept.PIX pixs, lept.PIXCMAP cmap, int mindepth, int level, int metric)
public static lept.PIX pixOctcubeQuantFromCmapLUT(lept.PIX pixs, lept.PIXCMAP cmap, int mindepth, IntPointer cmaptab, IntPointer rtab, IntPointer gtab, IntPointer btab)
public static lept.PIX pixOctcubeQuantFromCmapLUT(lept.PIX pixs, lept.PIXCMAP cmap, int mindepth, IntBuffer cmaptab, IntBuffer rtab, IntBuffer gtab, IntBuffer btab)
public static lept.PIX pixOctcubeQuantFromCmapLUT(lept.PIX pixs, lept.PIXCMAP cmap, int mindepth, int[] cmaptab, int[] rtab, int[] gtab, int[] btab)
public static lept.NUMA pixOctcubeHistogram(lept.PIX pixs, int level, IntPointer pncolors)
public static lept.NUMA pixOctcubeHistogram(lept.PIX pixs, int level, IntBuffer pncolors)
public static lept.NUMA pixOctcubeHistogram(lept.PIX pixs, int level, int[] pncolors)
public static IntPointer pixcmapToOctcubeLUT(lept.PIXCMAP cmap, int level, int metric)
public static int pixRemoveUnusedColors(lept.PIX pixs)
public static int pixNumberOccupiedOctcubes(lept.PIX pix, int level, int mincount, float minfract, IntPointer pncolors)
public static int pixNumberOccupiedOctcubes(lept.PIX pix, int level, int mincount, float minfract, IntBuffer pncolors)
public static int pixNumberOccupiedOctcubes(lept.PIX pix, int level, int mincount, float minfract, int[] pncolors)
public static lept.PIX pixMedianCutQuantGeneral(lept.PIX pixs, int ditherflag, int outdepth, int maxcolors, int sigbits, int maxsub, int checkbw)
public static lept.PIX pixMedianCutQuantMixed(lept.PIX pixs, int ncolor, int ngray, int darkthresh, int lightthresh, int diffthresh)
public static lept.PIX pixFewColorsMedianCutQuantMixed(lept.PIX pixs, int ncolor, int ngray, int maxncolors, int darkthresh, int lightthresh, int diffthresh)
public static IntPointer pixMedianCutHisto(lept.PIX pixs, int sigbits, int subsample)
public static lept.PIX pixColorSegment(lept.PIX pixs, int maxdist, int maxcolors, int selsize, int finalcolors)
public static lept.PIX pixColorSegmentCluster(lept.PIX pixs, int maxdist, int maxcolors)
public static int pixAssignToNearestColor(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int level, IntPointer countarray)
public static int pixAssignToNearestColor(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int level, IntBuffer countarray)
public static int pixAssignToNearestColor(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int level, int[] countarray)
public static int pixColorSegmentClean(lept.PIX pixs, int selsize, IntPointer countarray)
public static int pixColorSegmentClean(lept.PIX pixs, int selsize, IntBuffer countarray)
public static int pixColorSegmentClean(lept.PIX pixs, int selsize, int[] countarray)
public static int pixColorSegmentRemoveColors(lept.PIX pixd, lept.PIX pixs, int finalcolors)
public static int convertRGBToHSV(int rval,
int gval,
int bval,
IntPointer phval,
IntPointer psval,
IntPointer pvval)
public static int convertRGBToHSV(int rval,
int gval,
int bval,
IntBuffer phval,
IntBuffer psval,
IntBuffer pvval)
public static int convertRGBToHSV(int rval,
int gval,
int bval,
int[] phval,
int[] psval,
int[] pvval)
public static int convertHSVToRGB(int hval,
int sval,
int vval,
IntPointer prval,
IntPointer pgval,
IntPointer pbval)
public static int convertHSVToRGB(int hval,
int sval,
int vval,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval)
public static int convertHSVToRGB(int hval,
int sval,
int vval,
int[] prval,
int[] pgval,
int[] pbval)
public static int pixcmapConvertRGBToHSV(lept.PIXCMAP cmap)
public static int pixcmapConvertHSVToRGB(lept.PIXCMAP cmap)
public static lept.PIX pixMakeRangeMaskHS(lept.PIX pixs, int huecenter, int huehw, int satcenter, int sathw, int regionflag)
public static lept.PIX pixMakeRangeMaskHV(lept.PIX pixs, int huecenter, int huehw, int valcenter, int valhw, int regionflag)
public static lept.PIX pixMakeRangeMaskSV(lept.PIX pixs, int satcenter, int sathw, int valcenter, int valhw, int regionflag)
public static lept.PIX pixMakeHistoHS(lept.PIX pixs, int factor, PointerPointer pnahue, PointerPointer pnasat)
public static lept.PIX pixMakeHistoHS(lept.PIX pixs, int factor, lept.NUMA pnahue, lept.NUMA pnasat)
public static lept.PIX pixMakeHistoHV(lept.PIX pixs, int factor, PointerPointer pnahue, PointerPointer pnaval)
public static lept.PIX pixMakeHistoHV(lept.PIX pixs, int factor, lept.NUMA pnahue, lept.NUMA pnaval)
public static lept.PIX pixMakeHistoSV(lept.PIX pixs, int factor, PointerPointer pnasat, PointerPointer pnaval)
public static lept.PIX pixMakeHistoSV(lept.PIX pixs, int factor, lept.NUMA pnasat, lept.NUMA pnaval)
public static int pixFindHistoPeaksHSV(lept.PIX pixs, int type, int width, int height, int npeaks, float erasefactor, PointerPointer ppta, PointerPointer pnatot, PointerPointer ppixa)
public static int pixFindHistoPeaksHSV(lept.PIX pixs, int type, int width, int height, int npeaks, float erasefactor, lept.PTA ppta, lept.NUMA pnatot, lept.PIXA ppixa)
public static lept.PIX displayHSVColorRange(int hval, int sval, int vval, int huehw, int sathw, int nsamp, int factor)
public static int convertRGBToYUV(int rval,
int gval,
int bval,
IntPointer pyval,
IntPointer puval,
IntPointer pvval)
public static int convertRGBToYUV(int rval,
int gval,
int bval,
IntBuffer pyval,
IntBuffer puval,
IntBuffer pvval)
public static int convertRGBToYUV(int rval,
int gval,
int bval,
int[] pyval,
int[] puval,
int[] pvval)
public static int convertYUVToRGB(int yval,
int uval,
int vval,
IntPointer prval,
IntPointer pgval,
IntPointer pbval)
public static int convertYUVToRGB(int yval,
int uval,
int vval,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval)
public static int convertYUVToRGB(int yval,
int uval,
int vval,
int[] prval,
int[] pgval,
int[] pbval)
public static int pixcmapConvertRGBToYUV(lept.PIXCMAP cmap)
public static int pixcmapConvertYUVToRGB(lept.PIXCMAP cmap)
public static int pixEqual(lept.PIX pix1, lept.PIX pix2, IntPointer psame)
public static int pixEqualWithAlpha(lept.PIX pix1, lept.PIX pix2, int use_alpha, IntPointer psame)
public static int pixEqualWithAlpha(lept.PIX pix1, lept.PIX pix2, int use_alpha, IntBuffer psame)
public static int pixEqualWithAlpha(lept.PIX pix1, lept.PIX pix2, int use_alpha, int[] psame)
public static int pixEqualWithCmap(lept.PIX pix1, lept.PIX pix2, IntPointer psame)
public static int pixUsesCmapColor(lept.PIX pixs, IntPointer pcolor)
public static int pixUsesCmapColor(lept.PIX pixs, int[] pcolor)
public static int pixCorrelationBinary(lept.PIX pix1, lept.PIX pix2, FloatPointer pval)
public static int pixCorrelationBinary(lept.PIX pix1, lept.PIX pix2, FloatBuffer pval)
public static int pixCorrelationBinary(lept.PIX pix1, lept.PIX pix2, float[] pval)
public static int pixCompareBinary(lept.PIX pix1, lept.PIX pix2, int comptype, FloatPointer pfract, PointerPointer ppixdiff)
public static int pixCompareBinary(lept.PIX pix1, lept.PIX pix2, int comptype, FloatPointer pfract, lept.PIX ppixdiff)
public static int pixCompareBinary(lept.PIX pix1, lept.PIX pix2, int comptype, FloatBuffer pfract, lept.PIX ppixdiff)
public static int pixCompareBinary(lept.PIX pix1, lept.PIX pix2, int comptype, float[] pfract, lept.PIX ppixdiff)
public static int pixCompareGrayOrRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntPointer psame, FloatPointer pdiff, FloatPointer prmsdiff, PointerPointer ppixdiff)
public static int pixCompareGrayOrRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntPointer psame, FloatPointer pdiff, FloatPointer prmsdiff, lept.PIX ppixdiff)
public static int pixCompareGrayOrRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntBuffer psame, FloatBuffer pdiff, FloatBuffer prmsdiff, lept.PIX ppixdiff)
public static int pixCompareGrayOrRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, int[] psame, float[] pdiff, float[] prmsdiff, lept.PIX ppixdiff)
public static int pixCompareGray(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntPointer psame, FloatPointer pdiff, FloatPointer prmsdiff, PointerPointer ppixdiff)
public static int pixCompareGray(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntPointer psame, FloatPointer pdiff, FloatPointer prmsdiff, lept.PIX ppixdiff)
public static int pixCompareGray(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntBuffer psame, FloatBuffer pdiff, FloatBuffer prmsdiff, lept.PIX ppixdiff)
public static int pixCompareGray(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, int[] psame, float[] pdiff, float[] prmsdiff, lept.PIX ppixdiff)
public static int pixCompareRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntPointer psame, FloatPointer pdiff, FloatPointer prmsdiff, PointerPointer ppixdiff)
public static int pixCompareRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntPointer psame, FloatPointer pdiff, FloatPointer prmsdiff, lept.PIX ppixdiff)
public static int pixCompareRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, IntBuffer psame, FloatBuffer pdiff, FloatBuffer prmsdiff, lept.PIX ppixdiff)
public static int pixCompareRGB(lept.PIX pix1, lept.PIX pix2, int comptype, int plottype, int[] psame, float[] pdiff, float[] prmsdiff, lept.PIX ppixdiff)
public static int pixCompareTiled(lept.PIX pix1, lept.PIX pix2, int sx, int sy, int type, PointerPointer ppixdiff)
public static int pixCompareTiled(lept.PIX pix1, lept.PIX pix2, int sx, int sy, int type, lept.PIX ppixdiff)
public static lept.NUMA pixCompareRankDifference(lept.PIX pix1, lept.PIX pix2, int factor)
public static int pixTestForSimilarity(lept.PIX pix1, lept.PIX pix2, int factor, int mindiff, float maxfract, float maxave, IntPointer psimilar, int printstats)
public static int pixTestForSimilarity(lept.PIX pix1, lept.PIX pix2, int factor, int mindiff, float maxfract, float maxave, IntBuffer psimilar, int printstats)
public static int pixTestForSimilarity(lept.PIX pix1, lept.PIX pix2, int factor, int mindiff, float maxfract, float maxave, int[] psimilar, int printstats)
public static int pixGetDifferenceStats(lept.PIX pix1, lept.PIX pix2, int factor, int mindiff, FloatPointer pfractdiff, FloatPointer pavediff, int printstats)
public static int pixGetDifferenceStats(lept.PIX pix1, lept.PIX pix2, int factor, int mindiff, FloatBuffer pfractdiff, FloatBuffer pavediff, int printstats)
public static int pixGetDifferenceStats(lept.PIX pix1, lept.PIX pix2, int factor, int mindiff, float[] pfractdiff, float[] pavediff, int printstats)
public static lept.NUMA pixGetDifferenceHistogram(lept.PIX pix1, lept.PIX pix2, int factor)
public static int pixGetPerceptualDiff(lept.PIX pixs1, lept.PIX pixs2, int sampling, int dilation, int mindiff, FloatPointer pfract, PointerPointer ppixdiff1, PointerPointer ppixdiff2)
public static int pixGetPerceptualDiff(lept.PIX pixs1, lept.PIX pixs2, int sampling, int dilation, int mindiff, FloatPointer pfract, lept.PIX ppixdiff1, lept.PIX ppixdiff2)
public static int pixGetPerceptualDiff(lept.PIX pixs1, lept.PIX pixs2, int sampling, int dilation, int mindiff, FloatBuffer pfract, lept.PIX ppixdiff1, lept.PIX ppixdiff2)
public static int pixGetPerceptualDiff(lept.PIX pixs1, lept.PIX pixs2, int sampling, int dilation, int mindiff, float[] pfract, lept.PIX ppixdiff1, lept.PIX ppixdiff2)
public static int pixGetPSNR(lept.PIX pix1, lept.PIX pix2, int factor, FloatPointer ppsnr)
public static int pixGetPSNR(lept.PIX pix1, lept.PIX pix2, int factor, FloatBuffer ppsnr)
public static int pixCompareWithTranslation(lept.PIX pix1, lept.PIX pix2, int thresh, IntPointer pdelx, IntPointer pdely, FloatPointer pscore, int debugflag)
public static int pixCompareWithTranslation(lept.PIX pix1, lept.PIX pix2, int thresh, IntBuffer pdelx, IntBuffer pdely, FloatBuffer pscore, int debugflag)
public static int pixCompareWithTranslation(lept.PIX pix1, lept.PIX pix2, int thresh, int[] pdelx, int[] pdely, float[] pscore, int debugflag)
public static int pixBestCorrelation(lept.PIX pix1, lept.PIX pix2, int area1, int area2, int etransx, int etransy, int maxshift, IntPointer tab8, IntPointer pdelx, IntPointer pdely, FloatPointer pscore, int debugflag)
public static int pixBestCorrelation(lept.PIX pix1, lept.PIX pix2, int area1, int area2, int etransx, int etransy, int maxshift, IntBuffer tab8, IntBuffer pdelx, IntBuffer pdely, FloatBuffer pscore, int debugflag)
public static int pixBestCorrelation(lept.PIX pix1, lept.PIX pix2, int area1, int area2, int etransx, int etransy, int maxshift, int[] tab8, int[] pdelx, int[] pdely, float[] pscore, int debugflag)
public static lept.BOXA pixConnComp(lept.PIX pixs, PointerPointer ppixa, int connectivity)
public static lept.BOXA pixConnCompPixa(lept.PIX pixs, PointerPointer ppixa, int connectivity)
public static lept.BOXA pixConnCompPixa(lept.PIX pixs, lept.PIXA ppixa, int connectivity)
public static int pixCountConnComp(lept.PIX pixs, int connectivity, IntPointer pcount)
public static int pixCountConnComp(lept.PIX pixs, int connectivity, IntBuffer pcount)
public static int pixCountConnComp(lept.PIX pixs, int connectivity, int[] pcount)
public static int nextOnPixelInRaster(lept.PIX pixs, int xstart, int ystart, IntPointer px, IntPointer py)
public static int nextOnPixelInRaster(lept.PIX pixs, int xstart, int ystart, IntBuffer px, IntBuffer py)
public static int nextOnPixelInRaster(lept.PIX pixs, int xstart, int ystart, int[] px, int[] py)
public static int nextOnPixelInRasterLow(IntPointer data, int w, int h, int wpl, int xstart, int ystart, IntPointer px, IntPointer py)
public static int nextOnPixelInRasterLow(IntBuffer data, int w, int h, int wpl, int xstart, int ystart, IntBuffer px, IntBuffer py)
public static int nextOnPixelInRasterLow(int[] data,
int w,
int h,
int wpl,
int xstart,
int ystart,
int[] px,
int[] py)
public static lept.BOX pixSeedfillBB(lept.PIX pixs, lept.L_STACK stack, int x, int y, int connectivity)
public static lept.BOX pixSeedfill4BB(lept.PIX pixs, lept.L_STACK stack, int x, int y)
public static lept.BOX pixSeedfill8BB(lept.PIX pixs, lept.L_STACK stack, int x, int y)
public static int pixSeedfill(lept.PIX pixs, lept.L_STACK stack, int x, int y, int connectivity)
public static int pixSeedfill4(lept.PIX pixs, lept.L_STACK stack, int x, int y)
public static int pixSeedfill8(lept.PIX pixs, lept.L_STACK stack, int x, int y)
public static int convertFilesTo1bpp(BytePointer dirin, BytePointer substr, int upscaling, int thresh, int firstpage, int npages, BytePointer dirout, int outformat)
public static int convertFilesTo1bpp(String dirin, String substr, int upscaling, int thresh, int firstpage, int npages, String dirout, int outformat)
public static lept.PIX pixBlockconvGray(lept.PIX pixs, lept.PIX pixacc, int wc, int hc)
public static lept.PIX pixBlockconvGrayUnnormalized(lept.PIX pixs, int wc, int hc)
public static lept.PIX pixBlockconvTiled(lept.PIX pix, int wc, int hc, int nx, int ny)
public static lept.PIX pixBlockconvGrayTile(lept.PIX pixs, lept.PIX pixacc, int wc, int hc)
public static int pixWindowedStats(lept.PIX pixs, int wc, int hc, int hasborder, PointerPointer ppixm, PointerPointer ppixms, PointerPointer pfpixv, PointerPointer pfpixrv)
public static int pixWindowedStats(lept.PIX pixs, int wc, int hc, int hasborder, lept.PIX ppixm, lept.PIX ppixms, lept.FPIX pfpixv, lept.FPIX pfpixrv)
public static lept.PIX pixWindowedMean(lept.PIX pixs, int wc, int hc, int hasborder, int normflag)
public static lept.PIX pixWindowedMeanSquare(lept.PIX pixs, int wc, int hc, int hasborder)
public static int pixWindowedVariance(lept.PIX pixm, lept.PIX pixms, PointerPointer pfpixv, PointerPointer pfpixrv)
public static int pixWindowedVariance(lept.PIX pixm, lept.PIX pixms, lept.FPIX pfpixv, lept.FPIX pfpixrv)
public static lept.PIX pixBlockrank(lept.PIX pixs, lept.PIX pixacc, int wc, int hc, float rank)
public static lept.PIX pixCensusTransform(lept.PIX pixs, int halfsize, lept.PIX pixacc)
public static lept.PIX pixConvolve(lept.PIX pixs, lept.L_KERNEL kel, int outdepth, int normflag)
public static lept.PIX pixConvolveSep(lept.PIX pixs, lept.L_KERNEL kelx, lept.L_KERNEL kely, int outdepth, int normflag)
public static lept.PIX pixConvolveRGB(lept.PIX pixs, lept.L_KERNEL kel)
public static lept.PIX pixConvolveRGBSep(lept.PIX pixs, lept.L_KERNEL kelx, lept.L_KERNEL kely)
public static lept.FPIX fpixConvolve(lept.FPIX fpixs, lept.L_KERNEL kel, int normflag)
public static lept.FPIX fpixConvolveSep(lept.FPIX fpixs, lept.L_KERNEL kelx, lept.L_KERNEL kely, int normflag)
public static lept.PIX pixConvolveWithBias(lept.PIX pixs, lept.L_KERNEL kel1, lept.L_KERNEL kel2, int force8, IntPointer pbias)
public static lept.PIX pixConvolveWithBias(lept.PIX pixs, lept.L_KERNEL kel1, lept.L_KERNEL kel2, int force8, IntBuffer pbias)
public static lept.PIX pixConvolveWithBias(lept.PIX pixs, lept.L_KERNEL kel1, lept.L_KERNEL kel2, int force8, int[] pbias)
public static void l_setConvolveSampling(int xfact,
int yfact)
public static float gaussDistribSampling()
public static void blockconvLow(IntPointer data, int w, int h, int wpl, IntPointer dataa, int wpla, int wc, int hc)
public static void blockconvLow(IntBuffer data, int w, int h, int wpl, IntBuffer dataa, int wpla, int wc, int hc)
public static void blockconvLow(int[] data,
int w,
int h,
int wpl,
int[] dataa,
int wpla,
int wc,
int hc)
public static void blockconvAccumLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int d, int wpls)
public static void blockconvAccumLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int d, int wpls)
public static void blockconvAccumLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int d,
int wpls)
public static void blocksumLow(IntPointer datad, int w, int h, int wpl, IntPointer dataa, int wpla, int wc, int hc)
public static void blocksumLow(IntBuffer datad, int w, int h, int wpl, IntBuffer dataa, int wpla, int wc, int hc)
public static void blocksumLow(int[] datad,
int w,
int h,
int wpl,
int[] dataa,
int wpla,
int wc,
int hc)
public static int pixCorrelationScore(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, IntPointer tab, FloatPointer pscore)
public static int pixCorrelationScore(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, IntBuffer tab, FloatBuffer pscore)
public static int pixCorrelationScore(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, int[] tab, float[] pscore)
public static int pixCorrelationScoreThresholded(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, IntPointer tab, IntPointer downcount, float score_threshold)
public static int pixCorrelationScoreThresholded(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, IntBuffer tab, IntBuffer downcount, float score_threshold)
public static int pixCorrelationScoreThresholded(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, int[] tab, int[] downcount, float score_threshold)
public static int pixCorrelationScoreSimple(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, IntPointer tab, FloatPointer pscore)
public static int pixCorrelationScoreSimple(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, IntBuffer tab, FloatBuffer pscore)
public static int pixCorrelationScoreSimple(lept.PIX pix1, lept.PIX pix2, int area1, int area2, float delx, float dely, int maxdiffw, int maxdiffh, int[] tab, float[] pscore)
public static int pixCorrelationScoreShifted(lept.PIX pix1, lept.PIX pix2, int area1, int area2, int delx, int dely, IntPointer tab, FloatPointer pscore)
public static int pixCorrelationScoreShifted(lept.PIX pix1, lept.PIX pix2, int area1, int area2, int delx, int dely, IntBuffer tab, FloatBuffer pscore)
public static int pixCorrelationScoreShifted(lept.PIX pix1, lept.PIX pix2, int area1, int area2, int delx, int dely, int[] tab, float[] pscore)
public static lept.L_DEWARP dewarpCreate(lept.PIX pixs, int pageno)
public static lept.L_DEWARP dewarpCreateRef(int pageno, int refpage)
public static void dewarpDestroy(PointerPointer pdew)
public static void dewarpDestroy(lept.L_DEWARP pdew)
public static lept.L_DEWARPA dewarpaCreate(int nptrs, int sampling, int redfactor, int minlines, int maxdist)
public static lept.L_DEWARPA dewarpaCreateFromPixacomp(lept.PIXAC pixac, int useboth, int sampling, int minlines, int maxdist)
public static void dewarpaDestroy(PointerPointer pdewa)
public static void dewarpaDestroy(lept.L_DEWARPA pdewa)
public static int dewarpaDestroyDewarp(lept.L_DEWARPA dewa, int pageno)
public static int dewarpaInsertDewarp(lept.L_DEWARPA dewa, lept.L_DEWARP dew)
public static lept.L_DEWARP dewarpaGetDewarp(lept.L_DEWARPA dewa, int index)
public static int dewarpaSetCurvatures(lept.L_DEWARPA dewa, int max_linecurv, int min_diff_linecurv, int max_diff_linecurv, int max_edgecurv, int max_diff_edgecurv, int max_edgeslope)
public static int dewarpaUseBothArrays(lept.L_DEWARPA dewa, int useboth)
public static int dewarpaSetMaxDistance(lept.L_DEWARPA dewa, int maxdist)
public static lept.L_DEWARP dewarpRead(BytePointer filename)
public static lept.L_DEWARP dewarpRead(String filename)
public static lept.L_DEWARP dewarpReadStream(Pointer fp)
public static int dewarpWrite(BytePointer filename, lept.L_DEWARP dew)
public static int dewarpWrite(String filename, lept.L_DEWARP dew)
public static int dewarpWriteStream(Pointer fp, lept.L_DEWARP dew)
public static lept.L_DEWARPA dewarpaRead(BytePointer filename)
public static lept.L_DEWARPA dewarpaRead(String filename)
public static lept.L_DEWARPA dewarpaReadStream(Pointer fp)
public static int dewarpaWrite(BytePointer filename, lept.L_DEWARPA dewa)
public static int dewarpaWrite(String filename, lept.L_DEWARPA dewa)
public static int dewarpaWriteStream(Pointer fp, lept.L_DEWARPA dewa)
public static int dewarpBuildPageModel(lept.L_DEWARP dew, BytePointer debugfile)
public static int dewarpBuildPageModel(lept.L_DEWARP dew, String debugfile)
public static int dewarpFindVertDisparity(lept.L_DEWARP dew, lept.PTAA ptaa, int rotflag)
public static int dewarpFindHorizDisparity(lept.L_DEWARP dew, lept.PTAA ptaa)
public static lept.PTAA dewarpGetTextlineCenters(lept.PIX pixs, int debugflag)
public static lept.PTAA dewarpRemoveShortLines(lept.PIX pixs, lept.PTAA ptaas, float fract, int debugflag)
public static int dewarpBuildLineModel(lept.L_DEWARP dew, int opensize, BytePointer debugfile)
public static int dewarpBuildLineModel(lept.L_DEWARP dew, int opensize, String debugfile)
public static int dewarpaModelStatus(lept.L_DEWARPA dewa, int pageno, IntPointer pvsuccess, IntPointer phsuccess)
public static int dewarpaModelStatus(lept.L_DEWARPA dewa, int pageno, IntBuffer pvsuccess, IntBuffer phsuccess)
public static int dewarpaModelStatus(lept.L_DEWARPA dewa, int pageno, int[] pvsuccess, int[] phsuccess)
public static int dewarpaApplyDisparity(lept.L_DEWARPA dewa, int pageno, lept.PIX pixs, int grayin, int x, int y, PointerPointer ppixd, BytePointer debugfile)
public static int dewarpaApplyDisparity(lept.L_DEWARPA dewa, int pageno, lept.PIX pixs, int grayin, int x, int y, lept.PIX ppixd, BytePointer debugfile)
public static int dewarpaApplyDisparity(lept.L_DEWARPA dewa, int pageno, lept.PIX pixs, int grayin, int x, int y, lept.PIX ppixd, String debugfile)
public static int dewarpMinimize(lept.L_DEWARP dew)
public static int dewarpPopulateFullRes(lept.L_DEWARP dew, lept.PIX pix, int x, int y)
public static int dewarpSinglePage(lept.PIX pixs, int thresh, int adaptive, int use_both, PointerPointer ppixd, PointerPointer pdewa, int debug)
public static int dewarpSinglePage(lept.PIX pixs, int thresh, int adaptive, int use_both, lept.PIX ppixd, lept.L_DEWARPA pdewa, int debug)
public static int dewarpaListPages(lept.L_DEWARPA dewa)
public static int dewarpaSetValidModels(lept.L_DEWARPA dewa, int notests, int debug)
public static int dewarpaInsertRefModels(lept.L_DEWARPA dewa, int notests, int debug)
public static int dewarpaStripRefModels(lept.L_DEWARPA dewa)
public static int dewarpaRestoreModels(lept.L_DEWARPA dewa)
public static int dewarpaInfo(Pointer fp, lept.L_DEWARPA dewa)
public static int dewarpaModelStats(lept.L_DEWARPA dewa, IntPointer pnnone, IntPointer pnvsuccess, IntPointer pnvvalid, IntPointer pnhsuccess, IntPointer pnhvalid, IntPointer pnref)
public static int dewarpaModelStats(lept.L_DEWARPA dewa, IntBuffer pnnone, IntBuffer pnvsuccess, IntBuffer pnvvalid, IntBuffer pnhsuccess, IntBuffer pnhvalid, IntBuffer pnref)
public static int dewarpaModelStats(lept.L_DEWARPA dewa, int[] pnnone, int[] pnvsuccess, int[] pnvvalid, int[] pnhsuccess, int[] pnhvalid, int[] pnref)
public static int dewarpaShowArrays(lept.L_DEWARPA dewa, float scalefact, int first, int last, BytePointer fontdir)
public static int dewarpaShowArrays(lept.L_DEWARPA dewa, float scalefact, int first, int last, String fontdir)
public static int dewarpDebug(lept.L_DEWARP dew, BytePointer subdir, int index)
public static int dewarpDebug(lept.L_DEWARP dew, String subdir, int index)
public static int dewarpShowResults(lept.L_DEWARPA dewa, lept.SARRAY sa, lept.BOXA boxa, int firstpage, int lastpage, BytePointer fontdir, BytePointer pdfout)
public static int dewarpShowResults(lept.L_DEWARPA dewa, lept.SARRAY sa, lept.BOXA boxa, int firstpage, int lastpage, String fontdir, String pdfout)
public static lept.L_DNA l_dnaCreate(int n)
public static lept.L_DNA l_dnaCreateFromIArray(IntPointer iarray, int size)
public static lept.L_DNA l_dnaCreateFromIArray(IntBuffer iarray, int size)
public static lept.L_DNA l_dnaCreateFromIArray(int[] iarray, int size)
public static lept.L_DNA l_dnaCreateFromDArray(DoublePointer darray, int size, int copyflag)
public static lept.L_DNA l_dnaCreateFromDArray(DoubleBuffer darray, int size, int copyflag)
public static lept.L_DNA l_dnaCreateFromDArray(double[] darray, int size, int copyflag)
public static lept.L_DNA l_dnaMakeSequence(double startval, double increment, int size)
public static void l_dnaDestroy(PointerPointer pda)
public static void l_dnaDestroy(lept.L_DNA pda)
public static lept.L_DNA l_dnaCopy(lept.L_DNA da)
public static lept.L_DNA l_dnaClone(lept.L_DNA da)
public static int l_dnaEmpty(lept.L_DNA da)
public static int l_dnaAddNumber(lept.L_DNA da, double val)
public static int l_dnaInsertNumber(lept.L_DNA da, int index, double val)
public static int l_dnaRemoveNumber(lept.L_DNA da, int index)
public static int l_dnaReplaceNumber(lept.L_DNA da, int index, double val)
public static int l_dnaGetCount(lept.L_DNA da)
public static int l_dnaSetCount(lept.L_DNA da, int newcount)
public static int l_dnaGetDValue(lept.L_DNA da, int index, DoublePointer pval)
public static int l_dnaGetDValue(lept.L_DNA da, int index, DoubleBuffer pval)
public static int l_dnaGetDValue(lept.L_DNA da, int index, double[] pval)
public static int l_dnaGetIValue(lept.L_DNA da, int index, IntPointer pival)
public static int l_dnaGetIValue(lept.L_DNA da, int index, IntBuffer pival)
public static int l_dnaGetIValue(lept.L_DNA da, int index, int[] pival)
public static int l_dnaSetValue(lept.L_DNA da, int index, double val)
public static int l_dnaShiftValue(lept.L_DNA da, int index, double diff)
public static IntPointer l_dnaGetIArray(lept.L_DNA da)
public static DoublePointer l_dnaGetDArray(lept.L_DNA da, int copyflag)
public static int l_dnaGetRefcount(lept.L_DNA da)
public static int l_dnaChangeRefcount(lept.L_DNA da, int delta)
public static int l_dnaGetParameters(lept.L_DNA da, DoublePointer pstartx, DoublePointer pdelx)
public static int l_dnaGetParameters(lept.L_DNA da, DoubleBuffer pstartx, DoubleBuffer pdelx)
public static int l_dnaGetParameters(lept.L_DNA da, double[] pstartx, double[] pdelx)
public static int l_dnaSetParameters(lept.L_DNA da, double startx, double delx)
public static int l_dnaCopyParameters(lept.L_DNA dad, lept.L_DNA das)
public static lept.L_DNA l_dnaRead(BytePointer filename)
public static lept.L_DNA l_dnaRead(String filename)
public static lept.L_DNA l_dnaReadStream(Pointer fp)
public static int l_dnaWrite(BytePointer filename, lept.L_DNA da)
public static int l_dnaWrite(String filename, lept.L_DNA da)
public static int l_dnaWriteStream(Pointer fp, lept.L_DNA da)
public static lept.L_DNAA l_dnaaCreate(int n)
public static void l_dnaaDestroy(PointerPointer pdaa)
public static void l_dnaaDestroy(lept.L_DNAA pdaa)
public static int l_dnaaAddDna(lept.L_DNAA daa, lept.L_DNA da, int copyflag)
public static int l_dnaaGetCount(lept.L_DNAA daa)
public static int l_dnaaGetDnaCount(lept.L_DNAA daa, int index)
public static int l_dnaaGetNumberCount(lept.L_DNAA daa)
public static lept.L_DNA l_dnaaGetDna(lept.L_DNAA daa, int index, int accessflag)
public static int l_dnaaReplaceDna(lept.L_DNAA daa, int index, lept.L_DNA da)
public static int l_dnaaGetValue(lept.L_DNAA daa, int i, int j, DoublePointer pval)
public static int l_dnaaGetValue(lept.L_DNAA daa, int i, int j, DoubleBuffer pval)
public static int l_dnaaGetValue(lept.L_DNAA daa, int i, int j, double[] pval)
public static int l_dnaaAddNumber(lept.L_DNAA daa, int index, double val)
public static lept.L_DNAA l_dnaaRead(BytePointer filename)
public static lept.L_DNAA l_dnaaRead(String filename)
public static lept.L_DNAA l_dnaaReadStream(Pointer fp)
public static int l_dnaaWrite(BytePointer filename, lept.L_DNAA daa)
public static int l_dnaaWrite(String filename, lept.L_DNAA daa)
public static int l_dnaaWriteStream(Pointer fp, lept.L_DNAA daa)
public static lept.L_DNA l_dnaMakeDelta(lept.L_DNA das)
public static lept.NUMA l_dnaConvertToNuma(lept.L_DNA da)
public static lept.L_DNA numaConvertToDna(lept.NUMA na)
public static int l_dnaJoin(lept.L_DNA dad, lept.L_DNA das, int istart, int iend)
public static lept.PIX pixMorphDwa_2(lept.PIX pixd, lept.PIX pixs, int operation, BytePointer selname)
public static lept.PIX pixMorphDwa_2(lept.PIX pixd, lept.PIX pixs, int operation, ByteBuffer selname)
public static lept.PIX pixMorphDwa_2(lept.PIX pixd, lept.PIX pixs, int operation, byte[] selname)
public static lept.PIX pixFMorphopGen_2(lept.PIX pixd, lept.PIX pixs, int operation, BytePointer selname)
public static lept.PIX pixFMorphopGen_2(lept.PIX pixd, lept.PIX pixs, int operation, ByteBuffer selname)
public static lept.PIX pixFMorphopGen_2(lept.PIX pixd, lept.PIX pixs, int operation, byte[] selname)
public static int fmorphopgen_low_2(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, int index)
public static int fmorphopgen_low_2(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, int index)
public static int fmorphopgen_low_2(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int index)
public static int pixMeasureEdgeSmoothness(lept.PIX pixs, int side, int minjump, int minreversal, FloatPointer pjpl, FloatPointer pjspl, FloatPointer prpl, BytePointer debugfile)
public static int pixMeasureEdgeSmoothness(lept.PIX pixs, int side, int minjump, int minreversal, FloatBuffer pjpl, FloatBuffer pjspl, FloatBuffer prpl, String debugfile)
public static int pixMeasureEdgeSmoothness(lept.PIX pixs, int side, int minjump, int minreversal, float[] pjpl, float[] pjspl, float[] prpl, BytePointer debugfile)
public static int pixMeasureEdgeSmoothness(lept.PIX pixs, int side, int minjump, int minreversal, FloatPointer pjpl, FloatPointer pjspl, FloatPointer prpl, String debugfile)
public static int pixMeasureEdgeSmoothness(lept.PIX pixs, int side, int minjump, int minreversal, FloatBuffer pjpl, FloatBuffer pjspl, FloatBuffer prpl, BytePointer debugfile)
public static int pixMeasureEdgeSmoothness(lept.PIX pixs, int side, int minjump, int minreversal, float[] pjpl, float[] pjspl, float[] prpl, String debugfile)
public static lept.NUMA pixGetEdgeProfile(lept.PIX pixs, int side, BytePointer debugfile)
public static lept.NUMA pixGetEdgeProfile(lept.PIX pixs, int side, String debugfile)
public static int pixGetLastOffPixelInRun(lept.PIX pixs, int x, int y, int direction, IntPointer ploc)
public static int pixGetLastOffPixelInRun(lept.PIX pixs, int x, int y, int direction, IntBuffer ploc)
public static int pixGetLastOffPixelInRun(lept.PIX pixs, int x, int y, int direction, int[] ploc)
public static int pixGetLastOnPixelInRun(lept.PIX pixs, int x, int y, int direction, IntPointer ploc)
public static int pixGetLastOnPixelInRun(lept.PIX pixs, int x, int y, int direction, IntBuffer ploc)
public static int pixGetLastOnPixelInRun(lept.PIX pixs, int x, int y, int direction, int[] ploc)
public static lept.PIX pixGammaTRC(lept.PIX pixd, lept.PIX pixs, float gamma, int minval, int maxval)
public static lept.PIX pixGammaTRCMasked(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, float gamma, int minval, int maxval)
public static lept.PIX pixGammaTRCWithAlpha(lept.PIX pixd, lept.PIX pixs, float gamma, int minval, int maxval)
public static lept.NUMA numaGammaTRC(float gamma, int minval, int maxval)
public static lept.PIX pixContrastTRCMasked(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, float factor)
public static lept.NUMA numaContrastTRC(float factor)
public static lept.PIX pixEqualizeTRC(lept.PIX pixd, lept.PIX pixs, float fract, int factor)
public static lept.PIX pixUnsharpMasking(lept.PIX pixs, int halfwidth, float fract)
public static lept.PIX pixUnsharpMaskingGray(lept.PIX pixs, int halfwidth, float fract)
public static lept.PIX pixUnsharpMaskingFast(lept.PIX pixs, int halfwidth, float fract, int direction)
public static lept.PIX pixUnsharpMaskingGrayFast(lept.PIX pixs, int halfwidth, float fract, int direction)
public static lept.PIX pixUnsharpMaskingGray1D(lept.PIX pixs, int halfwidth, float fract, int direction)
public static lept.PIX pixUnsharpMaskingGray2D(lept.PIX pixs, int halfwidth, float fract)
public static lept.PIX pixModifySaturation(lept.PIX pixd, lept.PIX pixs, float fract)
public static int pixMeasureSaturation(lept.PIX pixs, int factor, FloatPointer psat)
public static int pixMeasureSaturation(lept.PIX pixs, int factor, FloatBuffer psat)
public static int pixMeasureSaturation(lept.PIX pixs, int factor, float[] psat)
public static lept.PIX pixModifyBrightness(lept.PIX pixd, lept.PIX pixs, float fract)
public static lept.PIX pixColorShiftRGB(lept.PIX pixs, float rfract, float gfract, float bfract)
public static lept.PIX pixMultConstantColor(lept.PIX pixs, float rfact, float gfact, float bfact)
public static lept.PIX pixMultMatrixColor(lept.PIX pixs, lept.L_KERNEL kel)
public static lept.PIX pixHalfEdgeByBandpass(lept.PIX pixs, int sm1h, int sm1v, int sm2h, int sm2v)
public static int fhmtautogen(lept.SELA sela, int fileindex, BytePointer filename)
public static int fhmtautogen1(lept.SELA sela, int fileindex, BytePointer filename)
public static int fhmtautogen2(lept.SELA sela, int fileindex, BytePointer filename)
public static lept.PIX pixHMTDwa_1(lept.PIX pixd, lept.PIX pixs, BytePointer selname)
public static lept.PIX pixHMTDwa_1(lept.PIX pixd, lept.PIX pixs, ByteBuffer selname)
public static lept.PIX pixFHMTGen_1(lept.PIX pixd, lept.PIX pixs, BytePointer selname)
public static lept.PIX pixFHMTGen_1(lept.PIX pixd, lept.PIX pixs, ByteBuffer selname)
public static int fhmtgen_low_1(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, int index)
public static int fhmtgen_low_1(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, int index)
public static int fhmtgen_low_1(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int index)
public static int pixItalicWords(lept.PIX pixs, lept.BOXA boxaw, lept.PIX pixw, PointerPointer pboxa, int debugflag)
public static int pixItalicWords(lept.PIX pixs, lept.BOXA boxaw, lept.PIX pixw, lept.BOXA pboxa, int debugflag)
public static int pixOrientDetect(lept.PIX pixs, FloatPointer pupconf, FloatPointer pleftconf, int mincount, int debug)
public static int pixOrientDetect(lept.PIX pixs, FloatBuffer pupconf, FloatBuffer pleftconf, int mincount, int debug)
public static int pixOrientDetect(lept.PIX pixs, float[] pupconf, float[] pleftconf, int mincount, int debug)
public static int makeOrientDecision(float upconf,
float leftconf,
float minupconf,
float minratio,
IntPointer porient,
int debug)
public static int makeOrientDecision(float upconf,
float leftconf,
float minupconf,
float minratio,
IntBuffer porient,
int debug)
public static int makeOrientDecision(float upconf,
float leftconf,
float minupconf,
float minratio,
int[] porient,
int debug)
public static int pixUpDownDetect(lept.PIX pixs, FloatPointer pconf, int mincount, int debug)
public static int pixUpDownDetect(lept.PIX pixs, FloatBuffer pconf, int mincount, int debug)
public static int pixUpDownDetect(lept.PIX pixs, float[] pconf, int mincount, int debug)
public static int pixUpDownDetectGeneral(lept.PIX pixs, FloatPointer pconf, int mincount, int npixels, int debug)
public static int pixUpDownDetectGeneral(lept.PIX pixs, FloatBuffer pconf, int mincount, int npixels, int debug)
public static int pixUpDownDetectGeneral(lept.PIX pixs, float[] pconf, int mincount, int npixels, int debug)
public static int pixOrientDetectDwa(lept.PIX pixs, FloatPointer pupconf, FloatPointer pleftconf, int mincount, int debug)
public static int pixOrientDetectDwa(lept.PIX pixs, FloatBuffer pupconf, FloatBuffer pleftconf, int mincount, int debug)
public static int pixOrientDetectDwa(lept.PIX pixs, float[] pupconf, float[] pleftconf, int mincount, int debug)
public static int pixUpDownDetectDwa(lept.PIX pixs, FloatPointer pconf, int mincount, int debug)
public static int pixUpDownDetectDwa(lept.PIX pixs, FloatBuffer pconf, int mincount, int debug)
public static int pixUpDownDetectDwa(lept.PIX pixs, float[] pconf, int mincount, int debug)
public static int pixUpDownDetectGeneralDwa(lept.PIX pixs, FloatPointer pconf, int mincount, int npixels, int debug)
public static int pixUpDownDetectGeneralDwa(lept.PIX pixs, FloatBuffer pconf, int mincount, int npixels, int debug)
public static int pixUpDownDetectGeneralDwa(lept.PIX pixs, float[] pconf, int mincount, int npixels, int debug)
public static int pixMirrorDetect(lept.PIX pixs, FloatPointer pconf, int mincount, int debug)
public static int pixMirrorDetect(lept.PIX pixs, FloatBuffer pconf, int mincount, int debug)
public static int pixMirrorDetect(lept.PIX pixs, float[] pconf, int mincount, int debug)
public static int pixMirrorDetectDwa(lept.PIX pixs, FloatPointer pconf, int mincount, int debug)
public static int pixMirrorDetectDwa(lept.PIX pixs, FloatBuffer pconf, int mincount, int debug)
public static int pixMirrorDetectDwa(lept.PIX pixs, float[] pconf, int mincount, int debug)
public static lept.PIX pixFlipFHMTGen(lept.PIX pixd, lept.PIX pixs, BytePointer selname)
public static lept.PIX pixFlipFHMTGen(lept.PIX pixd, lept.PIX pixs, ByteBuffer selname)
public static int fmorphautogen(lept.SELA sela, int fileindex, BytePointer filename)
public static int fmorphautogen1(lept.SELA sela, int fileindex, BytePointer filename)
public static int fmorphautogen2(lept.SELA sela, int fileindex, BytePointer filename)
public static lept.PIX pixMorphDwa_1(lept.PIX pixd, lept.PIX pixs, int operation, BytePointer selname)
public static lept.PIX pixMorphDwa_1(lept.PIX pixd, lept.PIX pixs, int operation, ByteBuffer selname)
public static lept.PIX pixMorphDwa_1(lept.PIX pixd, lept.PIX pixs, int operation, byte[] selname)
public static lept.PIX pixFMorphopGen_1(lept.PIX pixd, lept.PIX pixs, int operation, BytePointer selname)
public static lept.PIX pixFMorphopGen_1(lept.PIX pixd, lept.PIX pixs, int operation, ByteBuffer selname)
public static lept.PIX pixFMorphopGen_1(lept.PIX pixd, lept.PIX pixs, int operation, byte[] selname)
public static int fmorphopgen_low_1(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, int index)
public static int fmorphopgen_low_1(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, int index)
public static int fmorphopgen_low_1(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int index)
public static lept.FPIX fpixCreate(int width, int height)
public static void fpixDestroy(PointerPointer pfpix)
public static void fpixDestroy(lept.FPIX pfpix)
public static int fpixGetDimensions(lept.FPIX fpix, IntPointer pw, IntPointer ph)
public static int fpixGetDimensions(lept.FPIX fpix, int[] pw, int[] ph)
public static int fpixSetDimensions(lept.FPIX fpix, int w, int h)
public static int fpixGetWpl(lept.FPIX fpix)
public static int fpixSetWpl(lept.FPIX fpix, int wpl)
public static int fpixGetRefcount(lept.FPIX fpix)
public static int fpixChangeRefcount(lept.FPIX fpix, int delta)
public static int fpixGetResolution(lept.FPIX fpix, IntPointer pxres, IntPointer pyres)
public static int fpixGetResolution(lept.FPIX fpix, IntBuffer pxres, IntBuffer pyres)
public static int fpixGetResolution(lept.FPIX fpix, int[] pxres, int[] pyres)
public static int fpixSetResolution(lept.FPIX fpix, int xres, int yres)
public static FloatPointer fpixGetData(lept.FPIX fpix)
public static int fpixSetData(lept.FPIX fpix, FloatPointer data)
public static int fpixSetData(lept.FPIX fpix, FloatBuffer data)
public static int fpixSetData(lept.FPIX fpix, float[] data)
public static int fpixGetPixel(lept.FPIX fpix, int x, int y, FloatPointer pval)
public static int fpixGetPixel(lept.FPIX fpix, int x, int y, FloatBuffer pval)
public static int fpixGetPixel(lept.FPIX fpix, int x, int y, float[] pval)
public static int fpixSetPixel(lept.FPIX fpix, int x, int y, float val)
public static lept.FPIXA fpixaCreate(int n)
public static lept.FPIXA fpixaCopy(lept.FPIXA fpixa, int copyflag)
public static void fpixaDestroy(PointerPointer pfpixa)
public static void fpixaDestroy(lept.FPIXA pfpixa)
public static int fpixaAddFPix(lept.FPIXA fpixa, lept.FPIX fpix, int copyflag)
public static int fpixaGetCount(lept.FPIXA fpixa)
public static int fpixaChangeRefcount(lept.FPIXA fpixa, int delta)
public static lept.FPIX fpixaGetFPix(lept.FPIXA fpixa, int index, int accesstype)
public static int fpixaGetFPixDimensions(lept.FPIXA fpixa, int index, IntPointer pw, IntPointer ph)
public static int fpixaGetFPixDimensions(lept.FPIXA fpixa, int index, IntBuffer pw, IntBuffer ph)
public static int fpixaGetFPixDimensions(lept.FPIXA fpixa, int index, int[] pw, int[] ph)
public static int fpixaGetPixel(lept.FPIXA fpixa, int index, int x, int y, FloatPointer pval)
public static int fpixaGetPixel(lept.FPIXA fpixa, int index, int x, int y, FloatBuffer pval)
public static int fpixaGetPixel(lept.FPIXA fpixa, int index, int x, int y, float[] pval)
public static int fpixaSetPixel(lept.FPIXA fpixa, int index, int x, int y, float val)
public static lept.DPIX dpixCreate(int width, int height)
public static void dpixDestroy(PointerPointer pdpix)
public static void dpixDestroy(lept.DPIX pdpix)
public static int dpixGetDimensions(lept.DPIX dpix, IntPointer pw, IntPointer ph)
public static int dpixGetDimensions(lept.DPIX dpix, int[] pw, int[] ph)
public static int dpixSetDimensions(lept.DPIX dpix, int w, int h)
public static int dpixGetWpl(lept.DPIX dpix)
public static int dpixSetWpl(lept.DPIX dpix, int wpl)
public static int dpixGetRefcount(lept.DPIX dpix)
public static int dpixChangeRefcount(lept.DPIX dpix, int delta)
public static int dpixGetResolution(lept.DPIX dpix, IntPointer pxres, IntPointer pyres)
public static int dpixGetResolution(lept.DPIX dpix, IntBuffer pxres, IntBuffer pyres)
public static int dpixGetResolution(lept.DPIX dpix, int[] pxres, int[] pyres)
public static int dpixSetResolution(lept.DPIX dpix, int xres, int yres)
public static DoublePointer dpixGetData(lept.DPIX dpix)
public static int dpixSetData(lept.DPIX dpix, DoublePointer data)
public static int dpixSetData(lept.DPIX dpix, DoubleBuffer data)
public static int dpixSetData(lept.DPIX dpix, double[] data)
public static int dpixGetPixel(lept.DPIX dpix, int x, int y, DoublePointer pval)
public static int dpixGetPixel(lept.DPIX dpix, int x, int y, DoubleBuffer pval)
public static int dpixGetPixel(lept.DPIX dpix, int x, int y, double[] pval)
public static int dpixSetPixel(lept.DPIX dpix, int x, int y, double val)
public static lept.FPIX fpixRead(BytePointer filename)
public static int fpixWrite(BytePointer filename, lept.FPIX fpix)
public static lept.DPIX dpixRead(BytePointer filename)
public static int dpixWrite(BytePointer filename, lept.DPIX dpix)
public static lept.PIX fpixConvertToPix(lept.FPIX fpixs, int outdepth, int negvals, int errorflag)
public static lept.PIX dpixConvertToPix(lept.DPIX dpixs, int outdepth, int negvals, int errorflag)
public static int fpixGetMin(lept.FPIX fpix, FloatPointer pminval, IntPointer pxminloc, IntPointer pyminloc)
public static int fpixGetMin(lept.FPIX fpix, FloatBuffer pminval, IntBuffer pxminloc, IntBuffer pyminloc)
public static int fpixGetMin(lept.FPIX fpix, float[] pminval, int[] pxminloc, int[] pyminloc)
public static int fpixGetMax(lept.FPIX fpix, FloatPointer pmaxval, IntPointer pxmaxloc, IntPointer pymaxloc)
public static int fpixGetMax(lept.FPIX fpix, FloatBuffer pmaxval, IntBuffer pxmaxloc, IntBuffer pymaxloc)
public static int fpixGetMax(lept.FPIX fpix, float[] pmaxval, int[] pxmaxloc, int[] pymaxloc)
public static int dpixGetMin(lept.DPIX dpix, DoublePointer pminval, IntPointer pxminloc, IntPointer pyminloc)
public static int dpixGetMin(lept.DPIX dpix, DoubleBuffer pminval, IntBuffer pxminloc, IntBuffer pyminloc)
public static int dpixGetMin(lept.DPIX dpix, double[] pminval, int[] pxminloc, int[] pyminloc)
public static int dpixGetMax(lept.DPIX dpix, DoublePointer pmaxval, IntPointer pxmaxloc, IntPointer pymaxloc)
public static int dpixGetMax(lept.DPIX dpix, DoubleBuffer pmaxval, IntBuffer pxmaxloc, IntBuffer pymaxloc)
public static int dpixGetMax(lept.DPIX dpix, double[] pmaxval, int[] pxmaxloc, int[] pymaxloc)
public static lept.FPIX fpixLinearCombination(lept.FPIX fpixd, lept.FPIX fpixs1, lept.FPIX fpixs2, float a, float b)
public static int fpixAddMultConstant(lept.FPIX fpix, float addc, float multc)
public static lept.DPIX dpixLinearCombination(lept.DPIX dpixd, lept.DPIX dpixs1, lept.DPIX dpixs2, float a, float b)
public static int dpixAddMultConstant(lept.DPIX dpix, double addc, double multc)
public static int fpixSetAllArbitrary(lept.FPIX fpix, float inval)
public static int dpixSetAllArbitrary(lept.DPIX dpix, double inval)
public static lept.FPIX fpixAddBorder(lept.FPIX fpixs, int left, int right, int top, int bot)
public static lept.FPIX fpixRemoveBorder(lept.FPIX fpixs, int left, int right, int top, int bot)
public static lept.FPIX fpixAddMirroredBorder(lept.FPIX fpixs, int left, int right, int top, int bot)
public static lept.FPIX fpixAddContinuedBorder(lept.FPIX fpixs, int left, int right, int top, int bot)
public static lept.FPIX fpixAddSlopeBorder(lept.FPIX fpixs, int left, int right, int top, int bot)
public static int fpixRasterop(lept.FPIX fpixd, int dx, int dy, int dw, int dh, lept.FPIX fpixs, int sx, int sy)
public static lept.FPIX fpixAffinePta(lept.FPIX fpixs, lept.PTA ptad, lept.PTA ptas, int border, float inval)
public static lept.FPIX fpixAffine(lept.FPIX fpixs, FloatPointer vc, float inval)
public static lept.FPIX fpixAffine(lept.FPIX fpixs, FloatBuffer vc, float inval)
public static lept.FPIX fpixProjectivePta(lept.FPIX fpixs, lept.PTA ptad, lept.PTA ptas, int border, float inval)
public static lept.FPIX fpixProjective(lept.FPIX fpixs, FloatPointer vc, float inval)
public static lept.FPIX fpixProjective(lept.FPIX fpixs, FloatBuffer vc, float inval)
public static int linearInterpolatePixelFloat(FloatPointer datas, int w, int h, float x, float y, float inval, FloatPointer pval)
public static int linearInterpolatePixelFloat(FloatBuffer datas, int w, int h, float x, float y, float inval, FloatBuffer pval)
public static int linearInterpolatePixelFloat(float[] datas,
int w,
int h,
float x,
float y,
float inval,
float[] pval)
public static lept.FPIX pixComponentFunction(lept.PIX pix, float rnum, float gnum, float bnum, float rdenom, float gdenom, float bdenom)
public static lept.PIX pixReadMemGif(BytePointer cdata, long size)
public static lept.PIX pixReadMemGif(ByteBuffer cdata, long size)
public static lept.PIX pixReadMemGif(byte[] cdata, long size)
public static int pixWriteMemGif(PointerPointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemGif(BytePointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemGif(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemGif(byte[] pdata,
SizeTPointer psize,
lept.PIX pix)
public static lept.GPLOT gplotCreate(BytePointer rootname, int outformat, BytePointer title, BytePointer xlabel, BytePointer ylabel)
public static lept.GPLOT gplotCreate(String rootname, int outformat, String title, String xlabel, String ylabel)
public static void gplotDestroy(PointerPointer pgplot)
public static void gplotDestroy(lept.GPLOT pgplot)
public static int gplotAddPlot(lept.GPLOT gplot, lept.NUMA nax, lept.NUMA nay, int plotstyle, BytePointer plottitle)
public static int gplotAddPlot(lept.GPLOT gplot, lept.NUMA nax, lept.NUMA nay, int plotstyle, String plottitle)
public static int gplotSetScaling(lept.GPLOT gplot, int scaling)
public static int gplotMakeOutput(lept.GPLOT gplot)
public static int gplotGenCommandFile(lept.GPLOT gplot)
public static int gplotGenDataFiles(lept.GPLOT gplot)
public static int gplotSimple1(lept.NUMA na, int outformat, BytePointer outroot, BytePointer title)
public static int gplotSimple1(lept.NUMA na, int outformat, String outroot, String title)
public static int gplotSimple2(lept.NUMA na1, lept.NUMA na2, int outformat, BytePointer outroot, BytePointer title)
public static int gplotSimple2(lept.NUMA na1, lept.NUMA na2, int outformat, String outroot, String title)
public static int gplotSimpleN(lept.NUMAA naa, int outformat, BytePointer outroot, BytePointer title)
public static int gplotSimpleN(lept.NUMAA naa, int outformat, String outroot, String title)
public static int gplotSimpleXY1(lept.NUMA nax, lept.NUMA nay, int outformat, BytePointer outroot, BytePointer title)
public static int gplotSimpleXY1(lept.NUMA nax, lept.NUMA nay, int outformat, String outroot, String title)
public static int gplotSimpleXY2(lept.NUMA nax, lept.NUMA nay1, lept.NUMA nay2, int outformat, BytePointer outroot, BytePointer title)
public static int gplotSimpleXY2(lept.NUMA nax, lept.NUMA nay1, lept.NUMA nay2, int outformat, String outroot, String title)
public static int gplotSimpleXYN(lept.NUMA nax, lept.NUMAA naay, int outformat, BytePointer outroot, BytePointer title)
public static int gplotSimpleXYN(lept.NUMA nax, lept.NUMAA naay, int outformat, String outroot, String title)
public static lept.GPLOT gplotRead(BytePointer filename)
public static lept.GPLOT gplotRead(String filename)
public static int gplotWrite(BytePointer filename, lept.GPLOT gplot)
public static int gplotWrite(String filename, lept.GPLOT gplot)
public static lept.PTA generatePtaLine(int x1, int y1, int x2, int y2)
public static lept.PTA generatePtaWideLine(int x1, int y1, int x2, int y2, int width)
public static lept.PTA generatePtaHashBox(lept.BOX box, int spacing, int width, int orient, int outline)
public static lept.PTA generatePtaHashBoxa(lept.BOXA boxa, int spacing, int width, int orient, int outline, int removedups)
public static lept.PTAA generatePtaaHashBoxa(lept.BOXA boxa, int spacing, int width, int orient, int outline)
public static lept.PTA generatePtaPolyline(lept.PTA ptas, int width, int closeflag, int removedups)
public static lept.PTA generatePtaFilledCircle(int radius)
public static lept.PTA generatePtaFilledSquare(int side)
public static lept.PTA generatePtaLineFromPt(int x, int y, double length, double radang)
public static int locatePtRadially(int xr,
int yr,
double dist,
double radang,
DoublePointer px,
DoublePointer py)
public static int locatePtRadially(int xr,
int yr,
double dist,
double radang,
DoubleBuffer px,
DoubleBuffer py)
public static int locatePtRadially(int xr,
int yr,
double dist,
double radang,
double[] px,
double[] py)
public static int pixRenderPlotFromNuma(PointerPointer ppix, lept.NUMA na, int plotloc, int linewidth, int max, int color)
public static int pixRenderPlotFromNuma(lept.PIX ppix, lept.NUMA na, int plotloc, int linewidth, int max, int color)
public static lept.PTA makePlotPtaFromNuma(lept.NUMA na, int size, int plotloc, int linewidth, int max)
public static int pixRenderPlotFromNumaGen(PointerPointer ppix, lept.NUMA na, int orient, int linewidth, int refpos, int max, int drawref, int color)
public static int pixRenderPlotFromNumaGen(lept.PIX ppix, lept.NUMA na, int orient, int linewidth, int refpos, int max, int drawref, int color)
public static lept.PTA makePlotPtaFromNumaGen(lept.NUMA na, int orient, int linewidth, int refpos, int max, int drawref)
public static int pixRenderPtaArb(lept.PIX pix, lept.PTA pta, byte rval, byte gval, byte bval)
public static int pixRenderPtaBlend(lept.PIX pix, lept.PTA pta, byte rval, byte gval, byte bval, float fract)
public static int pixRenderLine(lept.PIX pix, int x1, int y1, int x2, int y2, int width, int op)
public static int pixRenderLineArb(lept.PIX pix, int x1, int y1, int x2, int y2, int width, byte rval, byte gval, byte bval)
public static int pixRenderLineBlend(lept.PIX pix, int x1, int y1, int x2, int y2, int width, byte rval, byte gval, byte bval, float fract)
public static int pixRenderBoxArb(lept.PIX pix, lept.BOX box, int width, byte rval, byte gval, byte bval)
public static int pixRenderBoxBlend(lept.PIX pix, lept.BOX box, int width, byte rval, byte gval, byte bval, float fract)
public static int pixRenderBoxaArb(lept.PIX pix, lept.BOXA boxa, int width, byte rval, byte gval, byte bval)
public static int pixRenderBoxaBlend(lept.PIX pix, lept.BOXA boxa, int width, byte rval, byte gval, byte bval, float fract, int removedups)
public static int pixRenderHashBox(lept.PIX pix, lept.BOX box, int spacing, int width, int orient, int outline, int op)
public static int pixRenderHashBoxArb(lept.PIX pix, lept.BOX box, int spacing, int width, int orient, int outline, int rval, int gval, int bval)
public static int pixRenderHashBoxBlend(lept.PIX pix, lept.BOX box, int spacing, int width, int orient, int outline, int rval, int gval, int bval, float fract)
public static int pixRenderHashBoxa(lept.PIX pix, lept.BOXA boxa, int spacing, int width, int orient, int outline, int op)
public static int pixRenderHashBoxaArb(lept.PIX pix, lept.BOXA boxa, int spacing, int width, int orient, int outline, int rval, int gval, int bval)
public static int pixRenderHashBoxaBlend(lept.PIX pix, lept.BOXA boxa, int spacing, int width, int orient, int outline, int rval, int gval, int bval, float fract)
public static int pixRenderPolyline(lept.PIX pix, lept.PTA ptas, int width, int op, int closeflag)
public static int pixRenderPolylineArb(lept.PIX pix, lept.PTA ptas, int width, byte rval, byte gval, byte bval, int closeflag)
public static int pixRenderPolylineBlend(lept.PIX pix, lept.PTA ptas, int width, byte rval, byte gval, byte bval, float fract, int closeflag, int removedups)
public static lept.PIX pixRenderRandomCmapPtaa(lept.PIX pix, lept.PTAA ptaa, int polyflag, int width, int closeflag)
public static lept.PIX pixRenderPolygon(lept.PTA ptas, int width, IntPointer pxmin, IntPointer pymin)
public static lept.PIX pixRenderPolygon(lept.PTA ptas, int width, IntBuffer pxmin, IntBuffer pymin)
public static lept.PIX pixRenderPolygon(lept.PTA ptas, int width, int[] pxmin, int[] pymin)
public static lept.PIX pixFillPolygon(lept.PIX pixs, lept.PTA pta, int xmin, int ymin)
public static lept.PIX pixRenderContours(lept.PIX pixs, int startval, int incr, int outdepth)
public static lept.PIX fpixRenderContours(lept.FPIX fpixs, float incr, float proxim)
public static void dilateGrayLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, int size, int direction, BytePointer buffer, BytePointer maxarray)
public static void dilateGrayLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, int size, int direction, ByteBuffer buffer, ByteBuffer maxarray)
public static void dilateGrayLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int size,
int direction,
byte[] buffer,
byte[] maxarray)
public static void erodeGrayLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, int size, int direction, BytePointer buffer, BytePointer minarray)
public static void erodeGrayLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, int size, int direction, ByteBuffer buffer, ByteBuffer minarray)
public static void erodeGrayLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int size,
int direction,
byte[] buffer,
byte[] minarray)
public static lept.PIX pixDitherToBinarySpec(lept.PIX pixs, int lowerclip, int upperclip)
public static lept.PIX pixVarThresholdToBinary(lept.PIX pixs, lept.PIX pixg)
public static lept.PIX pixAdaptThresholdToBinary(lept.PIX pixs, lept.PIX pixm, float gamma)
public static lept.PIX pixAdaptThresholdToBinaryGen(lept.PIX pixs, lept.PIX pixm, float gamma, int blackval, int whiteval, int thresh)
public static lept.PIX pixDitherToBinaryLUT(lept.PIX pixs, int lowerclip, int upperclip)
public static lept.PIX pixGenerateMaskByValue(lept.PIX pixs, int val, int usecmap)
public static lept.PIX pixGenerateMaskByBand(lept.PIX pixs, int lower, int upper, int inband, int usecmap)
public static lept.PIX pixDitherTo2bppSpec(lept.PIX pixs, int lowerclip, int upperclip, int cmapflag)
public static lept.PIX pixThresholdTo2bpp(lept.PIX pixs, int nlevels, int cmapflag)
public static lept.PIX pixThresholdTo4bpp(lept.PIX pixs, int nlevels, int cmapflag)
public static lept.PIX pixThresholdOn8bpp(lept.PIX pixs, int nlevels, int cmapflag)
public static lept.PIX pixThresholdGrayArb(lept.PIX pixs, BytePointer edgevals, int outdepth, int use_average, int setblack, int setwhite)
public static lept.PIX pixThresholdGrayArb(lept.PIX pixs, String edgevals, int outdepth, int use_average, int setblack, int setwhite)
public static IntPointer makeGrayQuantIndexTable(int nlevels)
public static IntPointer makeGrayQuantTargetTable(int nlevels, int depth)
public static int makeGrayQuantTableArb(lept.NUMA na, int outdepth, PointerPointer ptab, PointerPointer pcmap)
public static int makeGrayQuantTableArb(lept.NUMA na, int outdepth, IntPointer ptab, lept.PIXCMAP pcmap)
public static int makeGrayQuantTableArb(lept.NUMA na, int outdepth, IntBuffer ptab, lept.PIXCMAP pcmap)
public static int makeGrayQuantTableArb(lept.NUMA na, int outdepth, int[] ptab, lept.PIXCMAP pcmap)
public static int makeGrayQuantColormapArb(lept.PIX pixs, IntPointer tab, int outdepth, PointerPointer pcmap)
public static int makeGrayQuantColormapArb(lept.PIX pixs, IntPointer tab, int outdepth, lept.PIXCMAP pcmap)
public static int makeGrayQuantColormapArb(lept.PIX pixs, IntBuffer tab, int outdepth, lept.PIXCMAP pcmap)
public static int makeGrayQuantColormapArb(lept.PIX pixs, int[] tab, int outdepth, lept.PIXCMAP pcmap)
public static lept.PIX pixGenerateMaskByBand32(lept.PIX pixs, int refval, int delm, int delp, float fractm, float fractp)
public static lept.PIX pixGenerateMaskByDiscr32(lept.PIX pixs, int refval1, int refval2, int distflag)
public static lept.PIX pixGrayQuantFromHisto(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, float minfract, int maxsize)
public static lept.PIX pixGrayQuantFromCmap(lept.PIX pixs, lept.PIXCMAP cmap, int mindepth)
public static void ditherToBinaryLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, IntPointer bufs1, IntPointer bufs2, int lowerclip, int upperclip)
public static void ditherToBinaryLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, IntBuffer bufs1, IntBuffer bufs2, int lowerclip, int upperclip)
public static void ditherToBinaryLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int[] bufs1,
int[] bufs2,
int lowerclip,
int upperclip)
public static void ditherToBinaryLineLow(IntPointer lined, int w, IntPointer bufs1, IntPointer bufs2, int lowerclip, int upperclip, int lastlineflag)
public static void ditherToBinaryLineLow(IntBuffer lined, int w, IntBuffer bufs1, IntBuffer bufs2, int lowerclip, int upperclip, int lastlineflag)
public static void ditherToBinaryLineLow(int[] lined,
int w,
int[] bufs1,
int[] bufs2,
int lowerclip,
int upperclip,
int lastlineflag)
public static void thresholdToBinaryLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int d, int wpls, int thresh)
public static void thresholdToBinaryLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int d, int wpls, int thresh)
public static void thresholdToBinaryLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int d,
int wpls,
int thresh)
public static void thresholdToBinaryLineLow(IntPointer lined, int w, IntPointer lines, int d, int thresh)
public static void thresholdToBinaryLineLow(IntBuffer lined, int w, IntBuffer lines, int d, int thresh)
public static void thresholdToBinaryLineLow(int[] lined,
int w,
int[] lines,
int d,
int thresh)
public static void ditherToBinaryLUTLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, IntPointer bufs1, IntPointer bufs2, IntPointer tabval, IntPointer tab38, IntPointer tab14)
public static void ditherToBinaryLUTLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, IntBuffer bufs1, IntBuffer bufs2, IntBuffer tabval, IntBuffer tab38, IntBuffer tab14)
public static void ditherToBinaryLUTLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14)
public static void ditherToBinaryLineLUTLow(IntPointer lined, int w, IntPointer bufs1, IntPointer bufs2, IntPointer tabval, IntPointer tab38, IntPointer tab14, int lastlineflag)
public static void ditherToBinaryLineLUTLow(IntBuffer lined, int w, IntBuffer bufs1, IntBuffer bufs2, IntBuffer tabval, IntBuffer tab38, IntBuffer tab14, int lastlineflag)
public static void ditherToBinaryLineLUTLow(int[] lined,
int w,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14,
int lastlineflag)
public static int make8To1DitherTables(PointerPointer ptabval, PointerPointer ptab38, PointerPointer ptab14, int lowerclip, int upperclip)
public static int make8To1DitherTables(IntPointer ptabval, IntPointer ptab38, IntPointer ptab14, int lowerclip, int upperclip)
public static int make8To1DitherTables(IntBuffer ptabval, IntBuffer ptab38, IntBuffer ptab14, int lowerclip, int upperclip)
public static int make8To1DitherTables(int[] ptabval,
int[] ptab38,
int[] ptab14,
int lowerclip,
int upperclip)
public static void ditherTo2bppLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, IntPointer bufs1, IntPointer bufs2, IntPointer tabval, IntPointer tab38, IntPointer tab14)
public static void ditherTo2bppLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, IntBuffer bufs1, IntBuffer bufs2, IntBuffer tabval, IntBuffer tab38, IntBuffer tab14)
public static void ditherTo2bppLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14)
public static void ditherTo2bppLineLow(IntPointer lined, int w, IntPointer bufs1, IntPointer bufs2, IntPointer tabval, IntPointer tab38, IntPointer tab14, int lastlineflag)
public static void ditherTo2bppLineLow(IntBuffer lined, int w, IntBuffer bufs1, IntBuffer bufs2, IntBuffer tabval, IntBuffer tab38, IntBuffer tab14, int lastlineflag)
public static void ditherTo2bppLineLow(int[] lined,
int w,
int[] bufs1,
int[] bufs2,
int[] tabval,
int[] tab38,
int[] tab14,
int lastlineflag)
public static int make8To2DitherTables(PointerPointer ptabval, PointerPointer ptab38, PointerPointer ptab14, int cliptoblack, int cliptowhite)
public static int make8To2DitherTables(IntPointer ptabval, IntPointer ptab38, IntPointer ptab14, int cliptoblack, int cliptowhite)
public static int make8To2DitherTables(IntBuffer ptabval, IntBuffer ptab38, IntBuffer ptab14, int cliptoblack, int cliptowhite)
public static int make8To2DitherTables(int[] ptabval,
int[] ptab38,
int[] ptab14,
int cliptoblack,
int cliptowhite)
public static void thresholdTo2bppLow(IntPointer datad, int h, int wpld, IntPointer datas, int wpls, IntPointer tab)
public static void thresholdTo2bppLow(IntBuffer datad, int h, int wpld, IntBuffer datas, int wpls, IntBuffer tab)
public static void thresholdTo2bppLow(int[] datad,
int h,
int wpld,
int[] datas,
int wpls,
int[] tab)
public static void thresholdTo4bppLow(IntPointer datad, int h, int wpld, IntPointer datas, int wpls, IntPointer tab)
public static void thresholdTo4bppLow(IntBuffer datad, int h, int wpld, IntBuffer datas, int wpls, IntBuffer tab)
public static void thresholdTo4bppLow(int[] datad,
int h,
int wpld,
int[] datas,
int wpls,
int[] tab)
public static lept.L_HEAP lheapCreate(int nalloc, int direction)
public static void lheapDestroy(PointerPointer plh, int freeflag)
public static void lheapDestroy(lept.L_HEAP plh, int freeflag)
public static int lheapAdd(lept.L_HEAP lh, Pointer item)
public static Pointer lheapRemove(lept.L_HEAP lh)
public static int lheapGetCount(lept.L_HEAP lh)
public static int lheapSwapUp(lept.L_HEAP lh, int index)
public static int lheapSwapDown(lept.L_HEAP lh)
public static int lheapSort(lept.L_HEAP lh)
public static int lheapSortStrictOrder(lept.L_HEAP lh)
public static int lheapPrint(Pointer fp, lept.L_HEAP lh)
public static lept.JBCLASSER jbRankHausInit(int components, int maxwidth, int maxheight, int size, float rank)
public static lept.JBCLASSER jbCorrelationInit(int components, int maxwidth, int maxheight, float thresh, float weightfactor)
public static lept.JBCLASSER jbCorrelationInitWithoutComponents(int components, int maxwidth, int maxheight, float thresh, float weightfactor)
public static int jbAddPages(lept.JBCLASSER classer, lept.SARRAY safiles)
public static int jbAddPage(lept.JBCLASSER classer, lept.PIX pixs)
public static int jbAddPageComponents(lept.JBCLASSER classer, lept.PIX pixs, lept.BOXA boxas, lept.PIXA pixas)
public static int jbClassifyRankHaus(lept.JBCLASSER classer, lept.BOXA boxa, lept.PIXA pixas)
public static int pixHaustest(lept.PIX pix1, lept.PIX pix2, lept.PIX pix3, lept.PIX pix4, float delx, float dely, int maxdiffw, int maxdiffh)
public static int pixRankHaustest(lept.PIX pix1, lept.PIX pix2, lept.PIX pix3, lept.PIX pix4, float delx, float dely, int maxdiffw, int maxdiffh, int area1, int area3, float rank, IntPointer tab8)
public static int pixRankHaustest(lept.PIX pix1, lept.PIX pix2, lept.PIX pix3, lept.PIX pix4, float delx, float dely, int maxdiffw, int maxdiffh, int area1, int area3, float rank, IntBuffer tab8)
public static int pixRankHaustest(lept.PIX pix1, lept.PIX pix2, lept.PIX pix3, lept.PIX pix4, float delx, float dely, int maxdiffw, int maxdiffh, int area1, int area3, float rank, int[] tab8)
public static int jbClassifyCorrelation(lept.JBCLASSER classer, lept.BOXA boxa, lept.PIXA pixas)
public static int jbGetComponents(lept.PIX pixs, int components, int maxwidth, int maxheight, PointerPointer pboxad, PointerPointer ppixad)
public static int jbGetComponents(lept.PIX pixs, int components, int maxwidth, int maxheight, lept.BOXA pboxad, lept.PIXA ppixad)
public static int pixWordMaskByDilation(lept.PIX pixs, int maxdil, PointerPointer ppixm, IntPointer psize)
public static int pixWordMaskByDilation(lept.PIX pixs, int maxdil, lept.PIX ppixm, IntPointer psize)
public static int pixWordMaskByDilation(lept.PIX pixs, int maxdil, lept.PIX ppixm, IntBuffer psize)
public static int pixWordMaskByDilation(lept.PIX pixs, int maxdil, lept.PIX ppixm, int[] psize)
public static int pixWordBoxesByDilation(lept.PIX pixs, int maxdil, int minwidth, int minheight, int maxwidth, int maxheight, PointerPointer pboxa, IntPointer psize)
public static int pixWordBoxesByDilation(lept.PIX pixs, int maxdil, int minwidth, int minheight, int maxwidth, int maxheight, lept.BOXA pboxa, IntPointer psize)
public static int pixWordBoxesByDilation(lept.PIX pixs, int maxdil, int minwidth, int minheight, int maxwidth, int maxheight, lept.BOXA pboxa, IntBuffer psize)
public static int pixWordBoxesByDilation(lept.PIX pixs, int maxdil, int minwidth, int minheight, int maxwidth, int maxheight, lept.BOXA pboxa, int[] psize)
public static lept.PIXA jbAccumulateComposites(lept.PIXAA pixaa, PointerPointer pna, PointerPointer pptat)
public static lept.PIXA jbAccumulateComposites(lept.PIXAA pixaa, lept.NUMA pna, lept.PTA pptat)
public static lept.PIXA jbTemplatesFromComposites(lept.PIXA pixac, lept.NUMA na)
public static lept.JBCLASSER jbClasserCreate(int method, int components)
public static void jbClasserDestroy(PointerPointer pclasser)
public static void jbClasserDestroy(lept.JBCLASSER pclasser)
public static lept.JBDATA jbDataSave(lept.JBCLASSER classer)
public static void jbDataDestroy(PointerPointer pdata)
public static void jbDataDestroy(lept.JBDATA pdata)
public static int jbDataWrite(BytePointer rootout, lept.JBDATA jbdata)
public static int jbDataWrite(String rootout, lept.JBDATA jbdata)
public static lept.JBDATA jbDataRead(BytePointer rootname)
public static lept.JBDATA jbDataRead(String rootname)
public static lept.PIXA jbDataRender(lept.JBDATA data, int debugflag)
public static int jbGetULCorners(lept.JBCLASSER classer, lept.PIX pixs, lept.BOXA boxa)
public static int jbGetLLCorners(lept.JBCLASSER classer)
public static int readHeaderJp2k(BytePointer filename, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp)
public static int readHeaderJp2k(String filename, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp)
public static int readHeaderJp2k(BytePointer filename, int[] pw, int[] ph, int[] pbps, int[] pspp)
public static int readHeaderJp2k(String filename, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp)
public static int readHeaderJp2k(BytePointer filename, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp)
public static int readHeaderJp2k(String filename, int[] pw, int[] ph, int[] pbps, int[] pspp)
public static int freadHeaderJp2k(Pointer fp, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp)
public static int freadHeaderJp2k(Pointer fp, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp)
public static int freadHeaderJp2k(Pointer fp, int[] pw, int[] ph, int[] pbps, int[] pspp)
public static int readHeaderMemJp2k(BytePointer data, long size, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp)
public static int readHeaderMemJp2k(ByteBuffer data, long size, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp)
public static int readHeaderMemJp2k(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp)
public static int fgetJp2kResolution(Pointer fp, IntPointer pxres, IntPointer pyres)
public static int fgetJp2kResolution(Pointer fp, IntBuffer pxres, IntBuffer pyres)
public static int fgetJp2kResolution(Pointer fp, int[] pxres, int[] pyres)
public static lept.PIX pixReadJp2k(BytePointer filename, int reduction, lept.BOX box, int hint)
public static lept.PIX pixReadJp2k(String filename, int reduction, lept.BOX box, int hint)
public static lept.PIX pixReadStreamJp2k(Pointer fp, int reduction, lept.BOX box, int hint)
public static int pixWriteJp2k(BytePointer filename, lept.PIX pix, int quality, int nlevels, int hint)
public static int pixWriteJp2k(String filename, lept.PIX pix, int quality, int nlevels, int hint)
public static int pixWriteStreamJp2k(Pointer fp, lept.PIX pix, int quality, int nlevels, int hint)
public static lept.PIX pixReadMemJp2k(BytePointer data, long size, int reduction, lept.BOX box, int hint)
public static lept.PIX pixReadMemJp2k(ByteBuffer data, long size, int reduction, lept.BOX box, int hint)
public static lept.PIX pixReadMemJp2k(byte[] data, long size, int reduction, lept.BOX box, int hint)
public static int pixWriteMemJp2k(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, int quality, int nlevels, int hint)
public static int pixWriteMemJp2k(BytePointer pdata, SizeTPointer psize, lept.PIX pix, int quality, int nlevels, int hint)
public static int pixWriteMemJp2k(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, int quality, int nlevels, int hint)
public static int pixWriteMemJp2k(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int nlevels,
int hint)
public static lept.PIX pixReadJpeg(BytePointer filename, int cmflag, int reduction, IntPointer pnwarn, int hint)
public static lept.PIX pixReadJpeg(String filename, int cmflag, int reduction, IntBuffer pnwarn, int hint)
public static lept.PIX pixReadJpeg(BytePointer filename, int cmflag, int reduction, int[] pnwarn, int hint)
public static lept.PIX pixReadJpeg(String filename, int cmflag, int reduction, IntPointer pnwarn, int hint)
public static lept.PIX pixReadJpeg(BytePointer filename, int cmflag, int reduction, IntBuffer pnwarn, int hint)
public static lept.PIX pixReadJpeg(String filename, int cmflag, int reduction, int[] pnwarn, int hint)
public static lept.PIX pixReadStreamJpeg(Pointer fp, int cmflag, int reduction, IntPointer pnwarn, int hint)
public static lept.PIX pixReadStreamJpeg(Pointer fp, int cmflag, int reduction, IntBuffer pnwarn, int hint)
public static lept.PIX pixReadStreamJpeg(Pointer fp, int cmflag, int reduction, int[] pnwarn, int hint)
public static int readHeaderJpeg(BytePointer filename, IntPointer pw, IntPointer ph, IntPointer pspp, IntPointer pycck, IntPointer pcmyk)
public static int readHeaderJpeg(String filename, IntBuffer pw, IntBuffer ph, IntBuffer pspp, IntBuffer pycck, IntBuffer pcmyk)
public static int readHeaderJpeg(BytePointer filename, int[] pw, int[] ph, int[] pspp, int[] pycck, int[] pcmyk)
public static int readHeaderJpeg(String filename, IntPointer pw, IntPointer ph, IntPointer pspp, IntPointer pycck, IntPointer pcmyk)
public static int readHeaderJpeg(BytePointer filename, IntBuffer pw, IntBuffer ph, IntBuffer pspp, IntBuffer pycck, IntBuffer pcmyk)
public static int readHeaderJpeg(String filename, int[] pw, int[] ph, int[] pspp, int[] pycck, int[] pcmyk)
public static int freadHeaderJpeg(Pointer fp, IntPointer pw, IntPointer ph, IntPointer pspp, IntPointer pycck, IntPointer pcmyk)
public static int freadHeaderJpeg(Pointer fp, IntBuffer pw, IntBuffer ph, IntBuffer pspp, IntBuffer pycck, IntBuffer pcmyk)
public static int freadHeaderJpeg(Pointer fp, int[] pw, int[] ph, int[] pspp, int[] pycck, int[] pcmyk)
public static int fgetJpegResolution(Pointer fp, IntPointer pxres, IntPointer pyres)
public static int fgetJpegResolution(Pointer fp, IntBuffer pxres, IntBuffer pyres)
public static int fgetJpegResolution(Pointer fp, int[] pxres, int[] pyres)
public static int fgetJpegComment(Pointer fp, PointerPointer pcomment)
public static int fgetJpegComment(Pointer fp, BytePointer pcomment)
public static int fgetJpegComment(Pointer fp, ByteBuffer pcomment)
public static int fgetJpegComment(Pointer fp, byte[] pcomment)
public static int pixWriteJpeg(BytePointer filename, lept.PIX pix, int quality, int progressive)
public static int pixWriteJpeg(String filename, lept.PIX pix, int quality, int progressive)
public static int pixWriteStreamJpeg(Pointer fp, lept.PIX pixs, int quality, int progressive)
public static lept.PIX pixReadMemJpeg(BytePointer data, long size, int cmflag, int reduction, IntPointer pnwarn, int hint)
public static lept.PIX pixReadMemJpeg(ByteBuffer data, long size, int cmflag, int reduction, IntBuffer pnwarn, int hint)
public static lept.PIX pixReadMemJpeg(byte[] data, long size, int cmflag, int reduction, int[] pnwarn, int hint)
public static int readHeaderMemJpeg(BytePointer data, long size, IntPointer pw, IntPointer ph, IntPointer pspp, IntPointer pycck, IntPointer pcmyk)
public static int readHeaderMemJpeg(ByteBuffer data, long size, IntBuffer pw, IntBuffer ph, IntBuffer pspp, IntBuffer pycck, IntBuffer pcmyk)
public static int readHeaderMemJpeg(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pspp,
int[] pycck,
int[] pcmyk)
public static int pixWriteMemJpeg(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, int quality, int progressive)
public static int pixWriteMemJpeg(BytePointer pdata, SizeTPointer psize, lept.PIX pix, int quality, int progressive)
public static int pixWriteMemJpeg(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, int quality, int progressive)
public static int pixWriteMemJpeg(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int quality,
int progressive)
public static int pixSetChromaSampling(lept.PIX pix, int sampling)
public static lept.L_KERNEL kernelCreate(int height, int width)
public static void kernelDestroy(PointerPointer pkel)
public static void kernelDestroy(lept.L_KERNEL pkel)
public static lept.L_KERNEL kernelCopy(lept.L_KERNEL kels)
public static int kernelGetElement(lept.L_KERNEL kel, int row, int col, FloatPointer pval)
public static int kernelGetElement(lept.L_KERNEL kel, int row, int col, FloatBuffer pval)
public static int kernelGetElement(lept.L_KERNEL kel, int row, int col, float[] pval)
public static int kernelSetElement(lept.L_KERNEL kel, int row, int col, float val)
public static int kernelGetParameters(lept.L_KERNEL kel, IntPointer psy, IntPointer psx, IntPointer pcy, IntPointer pcx)
public static int kernelGetParameters(lept.L_KERNEL kel, IntBuffer psy, IntBuffer psx, IntBuffer pcy, IntBuffer pcx)
public static int kernelGetParameters(lept.L_KERNEL kel, int[] psy, int[] psx, int[] pcy, int[] pcx)
public static int kernelSetOrigin(lept.L_KERNEL kel, int cy, int cx)
public static int kernelGetSum(lept.L_KERNEL kel, FloatPointer psum)
public static int kernelGetSum(lept.L_KERNEL kel, FloatBuffer psum)
public static int kernelGetSum(lept.L_KERNEL kel, float[] psum)
public static int kernelGetMinMax(lept.L_KERNEL kel, FloatPointer pmin, FloatPointer pmax)
public static int kernelGetMinMax(lept.L_KERNEL kel, FloatBuffer pmin, FloatBuffer pmax)
public static int kernelGetMinMax(lept.L_KERNEL kel, float[] pmin, float[] pmax)
public static lept.L_KERNEL kernelNormalize(lept.L_KERNEL kels, float normsum)
public static lept.L_KERNEL kernelInvert(lept.L_KERNEL kels)
public static PointerPointer create2dFloatArray(int sy, int sx)
public static lept.L_KERNEL kernelRead(BytePointer fname)
public static lept.L_KERNEL kernelRead(String fname)
public static lept.L_KERNEL kernelReadStream(Pointer fp)
public static int kernelWrite(BytePointer fname, lept.L_KERNEL kel)
public static int kernelWrite(String fname, lept.L_KERNEL kel)
public static int kernelWriteStream(Pointer fp, lept.L_KERNEL kel)
public static lept.L_KERNEL kernelCreateFromString(int h, int w, int cy, int cx, BytePointer kdata)
public static lept.L_KERNEL kernelCreateFromString(int h, int w, int cy, int cx, String kdata)
public static lept.L_KERNEL kernelCreateFromFile(BytePointer filename)
public static lept.L_KERNEL kernelCreateFromFile(String filename)
public static lept.L_KERNEL kernelCreateFromPix(lept.PIX pix, int cy, int cx)
public static lept.PIX kernelDisplayInPix(lept.L_KERNEL kel, int size, int gthick)
public static lept.NUMA parseStringForNumbers(BytePointer str, BytePointer seps)
public static lept.L_KERNEL makeFlatKernel(int height, int width, int cy, int cx)
public static lept.L_KERNEL makeGaussianKernel(int halfheight, int halfwidth, float stdev, float max)
public static int makeGaussianKernelSep(int halfheight,
int halfwidth,
float stdev,
float max,
PointerPointer pkelx,
PointerPointer pkely)
public static int makeGaussianKernelSep(int halfheight,
int halfwidth,
float stdev,
float max,
lept.L_KERNEL pkelx,
lept.L_KERNEL pkely)
public static lept.L_KERNEL makeDoGKernel(int halfheight, int halfwidth, float stdev, float ratio)
public static BytePointer getImagelibVersions()
public static void listDestroy(PointerPointer phead)
public static void listDestroy(lept.DLLIST phead)
public static int listAddToHead(PointerPointer phead, Pointer data)
public static int listAddToHead(lept.DLLIST phead, Pointer data)
public static int listAddToTail(PointerPointer phead, PointerPointer ptail, Pointer data)
public static int listAddToTail(lept.DLLIST phead, lept.DLLIST ptail, Pointer data)
public static int listInsertBefore(PointerPointer phead, lept.DLLIST elem, Pointer data)
public static int listInsertBefore(lept.DLLIST phead, lept.DLLIST elem, Pointer data)
public static int listInsertAfter(PointerPointer phead, lept.DLLIST elem, Pointer data)
public static int listInsertAfter(lept.DLLIST phead, lept.DLLIST elem, Pointer data)
public static Pointer listRemoveElement(PointerPointer phead, lept.DLLIST elem)
public static Pointer listRemoveElement(lept.DLLIST phead, lept.DLLIST elem)
public static Pointer listRemoveFromHead(PointerPointer phead)
public static Pointer listRemoveFromHead(lept.DLLIST phead)
public static Pointer listRemoveFromTail(PointerPointer phead, PointerPointer ptail)
public static Pointer listRemoveFromTail(lept.DLLIST phead, lept.DLLIST ptail)
public static lept.DLLIST listFindElement(lept.DLLIST head, Pointer data)
public static lept.DLLIST listFindTail(lept.DLLIST head)
public static int listGetCount(lept.DLLIST head)
public static int listReverse(PointerPointer phead)
public static int listReverse(lept.DLLIST phead)
public static int listJoin(PointerPointer phead1, PointerPointer phead2)
public static int listJoin(lept.DLLIST phead1, lept.DLLIST phead2)
public static lept.PIX generateBinaryMaze(int w, int h, int xi, int yi, float wallps, float ranis)
public static lept.PTA pixSearchBinaryMaze(lept.PIX pixs, int xi, int yi, int xf, int yf, PointerPointer ppixd)
public static lept.PTA pixSearchBinaryMaze(lept.PIX pixs, int xi, int yi, int xf, int yf, lept.PIX ppixd)
public static lept.PTA pixSearchGrayMaze(lept.PIX pixs, int xi, int yi, int xf, int yf, PointerPointer ppixd)
public static lept.PTA pixSearchGrayMaze(lept.PIX pixs, int xi, int yi, int xf, int yf, lept.PIX ppixd)
public static int pixFindLargestRectangle(lept.PIX pixs, int polarity, PointerPointer pbox, BytePointer debugfile)
public static int pixFindLargestRectangle(lept.PIX pixs, int polarity, lept.BOX pbox, BytePointer debugfile)
public static int pixFindLargestRectangle(lept.PIX pixs, int polarity, lept.BOX pbox, String debugfile)
public static lept.PIX pixOpenGeneralized(lept.PIX pixd, lept.PIX pixs, lept.SEL sel)
public static lept.PIX pixCloseGeneralized(lept.PIX pixd, lept.PIX pixs, lept.SEL sel)
public static lept.PIX pixDilateBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixErodeBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixOpenBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseSafeBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static int selectComposableSels(int size,
int direction,
PointerPointer psel1,
PointerPointer psel2)
public static int selectComposableSels(int size,
int direction,
lept.SEL psel1,
lept.SEL psel2)
public static int selectComposableSizes(int size,
IntPointer pfactor1,
IntPointer pfactor2)
public static int selectComposableSizes(int size,
IntBuffer pfactor1,
IntBuffer pfactor2)
public static int selectComposableSizes(int size,
int[] pfactor1,
int[] pfactor2)
public static lept.PIX pixDilateCompBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixErodeCompBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixOpenCompBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseCompBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseSafeCompBrick(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static void resetMorphBoundaryCondition(int bc)
public static int getMorphBorderPixelColor(int type,
int depth)
public static lept.PIX pixMorphSequenceMasked(lept.PIX pixs, lept.PIX pixm, BytePointer sequence, int dispsep)
public static lept.PIX pixMorphSequenceMasked(lept.PIX pixs, lept.PIX pixm, String sequence, int dispsep)
public static lept.PIX pixMorphSequenceByComponent(lept.PIX pixs, BytePointer sequence, int connectivity, int minw, int minh, PointerPointer pboxa)
public static lept.PIX pixMorphSequenceByComponent(lept.PIX pixs, BytePointer sequence, int connectivity, int minw, int minh, lept.BOXA pboxa)
public static lept.PIX pixMorphSequenceByComponent(lept.PIX pixs, String sequence, int connectivity, int minw, int minh, lept.BOXA pboxa)
public static lept.PIXA pixaMorphSequenceByComponent(lept.PIXA pixas, BytePointer sequence, int minw, int minh)
public static lept.PIXA pixaMorphSequenceByComponent(lept.PIXA pixas, String sequence, int minw, int minh)
public static lept.PIX pixMorphSequenceByRegion(lept.PIX pixs, lept.PIX pixm, BytePointer sequence, int connectivity, int minw, int minh, PointerPointer pboxa)
public static lept.PIX pixMorphSequenceByRegion(lept.PIX pixs, lept.PIX pixm, BytePointer sequence, int connectivity, int minw, int minh, lept.BOXA pboxa)
public static lept.PIX pixMorphSequenceByRegion(lept.PIX pixs, lept.PIX pixm, String sequence, int connectivity, int minw, int minh, lept.BOXA pboxa)
public static lept.PIXA pixaMorphSequenceByRegion(lept.PIX pixs, lept.PIXA pixam, BytePointer sequence, int minw, int minh)
public static lept.PIXA pixaMorphSequenceByRegion(lept.PIX pixs, lept.PIXA pixam, String sequence, int minw, int minh)
public static lept.PIX pixUnionOfMorphOps(lept.PIX pixs, lept.SELA sela, int type)
public static lept.PIX pixIntersectionOfMorphOps(lept.PIX pixs, lept.SELA sela, int type)
public static lept.PIX pixSelectiveConnCompFill(lept.PIX pixs, int connectivity, int minw, int minh)
public static int pixRemoveMatchedPattern(lept.PIX pixs, lept.PIX pixp, lept.PIX pixe, int x0, int y0, int dsize)
public static lept.PIX pixDisplayMatchedPattern(lept.PIX pixs, lept.PIX pixp, lept.PIX pixe, int x0, int y0, int color, float scale, int nlevels)
public static lept.PIX pixSeedfillMorph(lept.PIX pixs, lept.PIX pixm, int maxiters, int connectivity)
public static lept.NUMA pixRunHistogramMorph(lept.PIX pixs, int runtype, int direction, int maxsize)
public static lept.PIX pixMorphGradient(lept.PIX pixs, int hsize, int vsize, int smoothing)
public static int pixCentroid(lept.PIX pix, IntPointer centtab, IntPointer sumtab, FloatPointer pxave, FloatPointer pyave)
public static int pixCentroid(lept.PIX pix, IntBuffer centtab, IntBuffer sumtab, FloatBuffer pxave, FloatBuffer pyave)
public static int pixCentroid(lept.PIX pix, int[] centtab, int[] sumtab, float[] pxave, float[] pyave)
public static lept.PIX pixDilateBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixErodeBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixOpenBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixDilateCompBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixErodeCompBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixOpenCompBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseCompBrickDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixDilateCompBrickExtendDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixErodeCompBrickExtendDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixOpenCompBrickExtendDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static lept.PIX pixCloseCompBrickExtendDwa(lept.PIX pixd, lept.PIX pixs, int hsize, int vsize)
public static int getExtendedCompositeParameters(int size,
IntPointer pn,
IntPointer pextra,
IntPointer pactualsize)
public static int getExtendedCompositeParameters(int size,
IntBuffer pn,
IntBuffer pextra,
IntBuffer pactualsize)
public static int getExtendedCompositeParameters(int size,
int[] pn,
int[] pextra,
int[] pactualsize)
public static lept.PIX pixMorphSequence(lept.PIX pixs, BytePointer sequence, int dispsep)
public static lept.PIX pixMorphSequence(lept.PIX pixs, String sequence, int dispsep)
public static lept.PIX pixMorphCompSequence(lept.PIX pixs, BytePointer sequence, int dispsep)
public static lept.PIX pixMorphCompSequence(lept.PIX pixs, String sequence, int dispsep)
public static lept.PIX pixMorphSequenceDwa(lept.PIX pixs, BytePointer sequence, int dispsep)
public static lept.PIX pixMorphSequenceDwa(lept.PIX pixs, String sequence, int dispsep)
public static lept.PIX pixMorphCompSequenceDwa(lept.PIX pixs, BytePointer sequence, int dispsep)
public static lept.PIX pixMorphCompSequenceDwa(lept.PIX pixs, String sequence, int dispsep)
public static int morphSequenceVerify(lept.SARRAY sa)
public static lept.PIX pixGrayMorphSequence(lept.PIX pixs, BytePointer sequence, int dispsep, int dispy)
public static lept.PIX pixGrayMorphSequence(lept.PIX pixs, String sequence, int dispsep, int dispy)
public static lept.PIX pixColorMorphSequence(lept.PIX pixs, BytePointer sequence, int dispsep, int dispy)
public static lept.PIX pixColorMorphSequence(lept.PIX pixs, String sequence, int dispsep, int dispy)
public static lept.NUMA numaCreate(int n)
public static lept.NUMA numaCreateFromIArray(IntPointer iarray, int size)
public static lept.NUMA numaCreateFromIArray(int[] iarray, int size)
public static lept.NUMA numaCreateFromFArray(FloatPointer farray, int size, int copyflag)
public static lept.NUMA numaCreateFromFArray(FloatBuffer farray, int size, int copyflag)
public static lept.NUMA numaCreateFromFArray(float[] farray, int size, int copyflag)
public static void numaDestroy(PointerPointer pna)
public static void numaDestroy(lept.NUMA pna)
public static int numaEmpty(lept.NUMA na)
public static int numaAddNumber(lept.NUMA na, float val)
public static int numaInsertNumber(lept.NUMA na, int index, float val)
public static int numaRemoveNumber(lept.NUMA na, int index)
public static int numaReplaceNumber(lept.NUMA na, int index, float val)
public static int numaGetCount(lept.NUMA na)
public static int numaSetCount(lept.NUMA na, int newcount)
public static int numaGetFValue(lept.NUMA na, int index, FloatPointer pval)
public static int numaGetFValue(lept.NUMA na, int index, FloatBuffer pval)
public static int numaGetFValue(lept.NUMA na, int index, float[] pval)
public static int numaGetIValue(lept.NUMA na, int index, IntPointer pival)
public static int numaGetIValue(lept.NUMA na, int index, int[] pival)
public static int numaSetValue(lept.NUMA na, int index, float val)
public static int numaShiftValue(lept.NUMA na, int index, float diff)
public static IntPointer numaGetIArray(lept.NUMA na)
public static FloatPointer numaGetFArray(lept.NUMA na, int copyflag)
public static int numaGetRefcount(lept.NUMA na)
public static int numaChangeRefcount(lept.NUMA na, int delta)
public static int numaGetParameters(lept.NUMA na, FloatPointer pstartx, FloatPointer pdelx)
public static int numaGetParameters(lept.NUMA na, FloatBuffer pstartx, FloatBuffer pdelx)
public static int numaGetParameters(lept.NUMA na, float[] pstartx, float[] pdelx)
public static int numaSetParameters(lept.NUMA na, float startx, float delx)
public static lept.SARRAY numaConvertToSarray(lept.NUMA na, int size1, int size2, int addzeros, int type)
public static lept.NUMA numaRead(BytePointer filename)
public static int numaWrite(BytePointer filename, lept.NUMA na)
public static lept.NUMAA numaaCreate(int n)
public static lept.NUMAA numaaCreateFull(int ntop, int n)
public static int numaaTruncate(lept.NUMAA naa)
public static void numaaDestroy(PointerPointer pnaa)
public static void numaaDestroy(lept.NUMAA pnaa)
public static int numaaAddNuma(lept.NUMAA naa, lept.NUMA na, int copyflag)
public static int numaaExtendArray(lept.NUMAA naa)
public static int numaaGetCount(lept.NUMAA naa)
public static int numaaGetNumaCount(lept.NUMAA naa, int index)
public static int numaaGetNumberCount(lept.NUMAA naa)
public static PointerPointer numaaGetPtrArray(lept.NUMAA naa)
public static lept.NUMA numaaGetNuma(lept.NUMAA naa, int index, int accessflag)
public static int numaaReplaceNuma(lept.NUMAA naa, int index, lept.NUMA na)
public static int numaaGetValue(lept.NUMAA naa, int i, int j, FloatPointer pfval, IntPointer pival)
public static int numaaGetValue(lept.NUMAA naa, int i, int j, FloatBuffer pfval, IntBuffer pival)
public static int numaaGetValue(lept.NUMAA naa, int i, int j, float[] pfval, int[] pival)
public static int numaaAddNumber(lept.NUMAA naa, int index, float val)
public static lept.NUMAA numaaRead(BytePointer filename)
public static lept.NUMAA numaaRead(String filename)
public static lept.NUMAA numaaReadStream(Pointer fp)
public static int numaaWrite(BytePointer filename, lept.NUMAA naa)
public static int numaaWrite(String filename, lept.NUMAA naa)
public static int numaaWriteStream(Pointer fp, lept.NUMAA naa)
public static lept.NUMA2D numa2dCreate(int nrows, int ncols, int initsize)
public static void numa2dDestroy(PointerPointer pna2d)
public static void numa2dDestroy(lept.NUMA2D pna2d)
public static int numa2dAddNumber(lept.NUMA2D na2d, int row, int col, float val)
public static int numa2dGetCount(lept.NUMA2D na2d, int row, int col)
public static lept.NUMA numa2dGetNuma(lept.NUMA2D na2d, int row, int col)
public static int numa2dGetFValue(lept.NUMA2D na2d, int row, int col, int index, FloatPointer pval)
public static int numa2dGetFValue(lept.NUMA2D na2d, int row, int col, int index, FloatBuffer pval)
public static int numa2dGetFValue(lept.NUMA2D na2d, int row, int col, int index, float[] pval)
public static int numa2dGetIValue(lept.NUMA2D na2d, int row, int col, int index, IntPointer pval)
public static int numa2dGetIValue(lept.NUMA2D na2d, int row, int col, int index, IntBuffer pval)
public static int numa2dGetIValue(lept.NUMA2D na2d, int row, int col, int index, int[] pval)
public static lept.NUMAHASH numaHashCreate(int nbuckets, int initsize)
public static void numaHashDestroy(PointerPointer pnahash)
public static void numaHashDestroy(lept.NUMAHASH pnahash)
public static lept.NUMA numaHashGetNuma(lept.NUMAHASH nahash, int key)
public static int numaHashAdd(lept.NUMAHASH nahash, int key, float value)
public static lept.NUMA numaArithOp(lept.NUMA nad, lept.NUMA na1, lept.NUMA na2, int op)
public static lept.NUMA numaLogicalOp(lept.NUMA nad, lept.NUMA na1, lept.NUMA na2, int op)
public static int numaSimilar(lept.NUMA na1, lept.NUMA na2, float maxdiff, IntPointer psimilar)
public static int numaSimilar(lept.NUMA na1, lept.NUMA na2, float maxdiff, IntBuffer psimilar)
public static int numaSimilar(lept.NUMA na1, lept.NUMA na2, float maxdiff, int[] psimilar)
public static int numaAddToNumber(lept.NUMA na, int index, float val)
public static int numaGetMin(lept.NUMA na, FloatPointer pminval, IntPointer piminloc)
public static int numaGetMin(lept.NUMA na, FloatBuffer pminval, IntBuffer piminloc)
public static int numaGetMin(lept.NUMA na, float[] pminval, int[] piminloc)
public static int numaGetMax(lept.NUMA na, FloatPointer pmaxval, IntPointer pimaxloc)
public static int numaGetMax(lept.NUMA na, FloatBuffer pmaxval, IntBuffer pimaxloc)
public static int numaGetMax(lept.NUMA na, float[] pmaxval, int[] pimaxloc)
public static int numaGetSum(lept.NUMA na, FloatPointer psum)
public static int numaGetSum(lept.NUMA na, FloatBuffer psum)
public static int numaGetSum(lept.NUMA na, float[] psum)
public static int numaGetSumOnInterval(lept.NUMA na, int first, int last, FloatPointer psum)
public static int numaGetSumOnInterval(lept.NUMA na, int first, int last, FloatBuffer psum)
public static int numaGetSumOnInterval(lept.NUMA na, int first, int last, float[] psum)
public static int numaHasOnlyIntegers(lept.NUMA na, int maxsamples, IntPointer pallints)
public static int numaHasOnlyIntegers(lept.NUMA na, int maxsamples, IntBuffer pallints)
public static int numaHasOnlyIntegers(lept.NUMA na, int maxsamples, int[] pallints)
public static lept.NUMA numaMakeSequence(float startval, float increment, int size)
public static lept.NUMA numaMakeConstant(float val, int size)
public static lept.NUMA numaAddSpecifiedBorder(lept.NUMA nas, int left, int right, int type)
public static int numaGetNonzeroRange(lept.NUMA na, float eps, IntPointer pfirst, IntPointer plast)
public static int numaGetNonzeroRange(lept.NUMA na, float eps, IntBuffer pfirst, IntBuffer plast)
public static int numaGetNonzeroRange(lept.NUMA na, float eps, int[] pfirst, int[] plast)
public static int numaGetCountRelativeToZero(lept.NUMA na, int type, IntPointer pcount)
public static int numaGetCountRelativeToZero(lept.NUMA na, int type, IntBuffer pcount)
public static int numaGetCountRelativeToZero(lept.NUMA na, int type, int[] pcount)
public static lept.NUMA numaMakeThresholdIndicator(lept.NUMA nas, float thresh, int type)
public static lept.NUMA numaLowPassIntervals(lept.NUMA nas, float thresh, float maxn)
public static lept.NUMA numaThresholdEdges(lept.NUMA nas, float thresh1, float thresh2, float maxn)
public static int numaGetSpanValues(lept.NUMA na, int span, IntPointer pstart, IntPointer pend)
public static int numaGetSpanValues(lept.NUMA na, int span, IntBuffer pstart, IntBuffer pend)
public static int numaGetSpanValues(lept.NUMA na, int span, int[] pstart, int[] pend)
public static int numaGetEdgeValues(lept.NUMA na, int edge, IntPointer pstart, IntPointer pend, IntPointer psign)
public static int numaGetEdgeValues(lept.NUMA na, int edge, IntBuffer pstart, IntBuffer pend, IntBuffer psign)
public static int numaGetEdgeValues(lept.NUMA na, int edge, int[] pstart, int[] pend, int[] psign)
public static int numaInterpolateEqxVal(float startx,
float deltax,
lept.NUMA nay,
int type,
float xval,
FloatPointer pyval)
public static int numaInterpolateEqxVal(float startx,
float deltax,
lept.NUMA nay,
int type,
float xval,
FloatBuffer pyval)
public static int numaInterpolateEqxVal(float startx,
float deltax,
lept.NUMA nay,
int type,
float xval,
float[] pyval)
public static int numaInterpolateArbxVal(lept.NUMA nax, lept.NUMA nay, int type, float xval, FloatPointer pyval)
public static int numaInterpolateArbxVal(lept.NUMA nax, lept.NUMA nay, int type, float xval, FloatBuffer pyval)
public static int numaInterpolateArbxVal(lept.NUMA nax, lept.NUMA nay, int type, float xval, float[] pyval)
public static int numaInterpolateEqxInterval(float startx,
float deltax,
lept.NUMA nasy,
int type,
float x0,
float x1,
int npts,
PointerPointer pnax,
PointerPointer pnay)
public static int numaInterpolateEqxInterval(float startx,
float deltax,
lept.NUMA nasy,
int type,
float x0,
float x1,
int npts,
lept.NUMA pnax,
lept.NUMA pnay)
public static int numaInterpolateArbxInterval(lept.NUMA nax, lept.NUMA nay, int type, float x0, float x1, int npts, PointerPointer pnadx, PointerPointer pnady)
public static int numaInterpolateArbxInterval(lept.NUMA nax, lept.NUMA nay, int type, float x0, float x1, int npts, lept.NUMA pnadx, lept.NUMA pnady)
public static int numaFitMax(lept.NUMA na, FloatPointer pmaxval, lept.NUMA naloc, FloatPointer pmaxloc)
public static int numaFitMax(lept.NUMA na, FloatBuffer pmaxval, lept.NUMA naloc, FloatBuffer pmaxloc)
public static int numaFitMax(lept.NUMA na, float[] pmaxval, lept.NUMA naloc, float[] pmaxloc)
public static int numaDifferentiateInterval(lept.NUMA nax, lept.NUMA nay, float x0, float x1, int npts, PointerPointer pnadx, PointerPointer pnady)
public static int numaDifferentiateInterval(lept.NUMA nax, lept.NUMA nay, float x0, float x1, int npts, lept.NUMA pnadx, lept.NUMA pnady)
public static int numaIntegrateInterval(lept.NUMA nax, lept.NUMA nay, float x0, float x1, int npts, FloatPointer psum)
public static int numaIntegrateInterval(lept.NUMA nax, lept.NUMA nay, float x0, float x1, int npts, FloatBuffer psum)
public static int numaIntegrateInterval(lept.NUMA nax, lept.NUMA nay, float x0, float x1, int npts, float[] psum)
public static int numaSortGeneral(lept.NUMA na, PointerPointer pnasort, PointerPointer pnaindex, PointerPointer pnainvert, int sortorder, int sorttype)
public static int numaSortGeneral(lept.NUMA na, lept.NUMA pnasort, lept.NUMA pnaindex, lept.NUMA pnainvert, int sortorder, int sorttype)
public static lept.NUMA numaSortIndexAutoSelect(lept.NUMA nas, int sortorder)
public static int numaChooseSortType(lept.NUMA nas)
public static int numaIsSorted(lept.NUMA nas, int sortorder, IntPointer psorted)
public static int numaIsSorted(lept.NUMA nas, int sortorder, int[] psorted)
public static int numaSortPair(lept.NUMA nax, lept.NUMA nay, int sortorder, PointerPointer pnasx, PointerPointer pnasy)
public static int numaSortPair(lept.NUMA nax, lept.NUMA nay, int sortorder, lept.NUMA pnasx, lept.NUMA pnasy)
public static lept.NUMA numaPseudorandomSequence(int size, int seed)
public static int numaGetRankValue(lept.NUMA na, float fract, lept.NUMA nasort, int usebins, FloatPointer pval)
public static int numaGetRankValue(lept.NUMA na, float fract, lept.NUMA nasort, int usebins, FloatBuffer pval)
public static int numaGetRankValue(lept.NUMA na, float fract, lept.NUMA nasort, int usebins, float[] pval)
public static int numaGetMedian(lept.NUMA na, FloatPointer pval)
public static int numaGetMedian(lept.NUMA na, FloatBuffer pval)
public static int numaGetMedian(lept.NUMA na, float[] pval)
public static int numaGetBinnedMedian(lept.NUMA na, IntPointer pval)
public static int numaGetBinnedMedian(lept.NUMA na, int[] pval)
public static int numaGetMode(lept.NUMA na, FloatPointer pval, IntPointer pcount)
public static int numaGetMode(lept.NUMA na, FloatBuffer pval, IntBuffer pcount)
public static int numaGetMode(lept.NUMA na, float[] pval, int[] pcount)
public static int numaGetMedianVariation(lept.NUMA na, FloatPointer pmedval, FloatPointer pmedvar)
public static int numaGetMedianVariation(lept.NUMA na, FloatBuffer pmedval, FloatBuffer pmedvar)
public static int numaGetMedianVariation(lept.NUMA na, float[] pmedval, float[] pmedvar)
public static int numaaJoin(lept.NUMAA naad, lept.NUMAA naas, int istart, int iend)
public static lept.NUMA numaaFlattenToNuma(lept.NUMAA naa)
public static int numaWindowedStats(lept.NUMA nas, int wc, PointerPointer pnam, PointerPointer pnams, PointerPointer pnav, PointerPointer pnarv)
public static int numaWindowedStats(lept.NUMA nas, int wc, lept.NUMA pnam, lept.NUMA pnams, lept.NUMA pnav, lept.NUMA pnarv)
public static int numaWindowedVariance(lept.NUMA nam, lept.NUMA nams, PointerPointer pnav, PointerPointer pnarv)
public static int numaWindowedVariance(lept.NUMA nam, lept.NUMA nams, lept.NUMA pnav, lept.NUMA pnarv)
public static lept.NUMA numaMakeHistogram(lept.NUMA na, int maxbins, IntPointer pbinsize, IntPointer pbinstart)
public static lept.NUMA numaMakeHistogram(lept.NUMA na, int maxbins, IntBuffer pbinsize, IntBuffer pbinstart)
public static lept.NUMA numaMakeHistogram(lept.NUMA na, int maxbins, int[] pbinsize, int[] pbinstart)
public static lept.NUMA numaMakeHistogramClipped(lept.NUMA na, float binsize, float maxsize)
public static int numaGetStatsUsingHistogram(lept.NUMA na, int maxbins, FloatPointer pmin, FloatPointer pmax, FloatPointer pmean, FloatPointer pvariance, FloatPointer pmedian, float rank, FloatPointer prval, PointerPointer phisto)
public static int numaGetStatsUsingHistogram(lept.NUMA na, int maxbins, FloatPointer pmin, FloatPointer pmax, FloatPointer pmean, FloatPointer pvariance, FloatPointer pmedian, float rank, FloatPointer prval, lept.NUMA phisto)
public static int numaGetStatsUsingHistogram(lept.NUMA na, int maxbins, FloatBuffer pmin, FloatBuffer pmax, FloatBuffer pmean, FloatBuffer pvariance, FloatBuffer pmedian, float rank, FloatBuffer prval, lept.NUMA phisto)
public static int numaGetStatsUsingHistogram(lept.NUMA na, int maxbins, float[] pmin, float[] pmax, float[] pmean, float[] pvariance, float[] pmedian, float rank, float[] prval, lept.NUMA phisto)
public static int numaGetHistogramStats(lept.NUMA nahisto, float startx, float deltax, FloatPointer pxmean, FloatPointer pxmedian, FloatPointer pxmode, FloatPointer pxvariance)
public static int numaGetHistogramStats(lept.NUMA nahisto, float startx, float deltax, FloatBuffer pxmean, FloatBuffer pxmedian, FloatBuffer pxmode, FloatBuffer pxvariance)
public static int numaGetHistogramStats(lept.NUMA nahisto, float startx, float deltax, float[] pxmean, float[] pxmedian, float[] pxmode, float[] pxvariance)
public static int numaGetHistogramStatsOnInterval(lept.NUMA nahisto, float startx, float deltax, int ifirst, int ilast, FloatPointer pxmean, FloatPointer pxmedian, FloatPointer pxmode, FloatPointer pxvariance)
public static int numaGetHistogramStatsOnInterval(lept.NUMA nahisto, float startx, float deltax, int ifirst, int ilast, FloatBuffer pxmean, FloatBuffer pxmedian, FloatBuffer pxmode, FloatBuffer pxvariance)
public static int numaGetHistogramStatsOnInterval(lept.NUMA nahisto, float startx, float deltax, int ifirst, int ilast, float[] pxmean, float[] pxmedian, float[] pxmode, float[] pxvariance)
public static int numaMakeRankFromHistogram(float startx,
float deltax,
lept.NUMA nasy,
int npts,
PointerPointer pnax,
PointerPointer pnay)
public static int numaMakeRankFromHistogram(float startx,
float deltax,
lept.NUMA nasy,
int npts,
lept.NUMA pnax,
lept.NUMA pnay)
public static int numaHistogramGetRankFromVal(lept.NUMA na, float rval, FloatPointer prank)
public static int numaHistogramGetRankFromVal(lept.NUMA na, float rval, FloatBuffer prank)
public static int numaHistogramGetRankFromVal(lept.NUMA na, float rval, float[] prank)
public static int numaHistogramGetValFromRank(lept.NUMA na, float rank, FloatPointer prval)
public static int numaHistogramGetValFromRank(lept.NUMA na, float rank, FloatBuffer prval)
public static int numaHistogramGetValFromRank(lept.NUMA na, float rank, float[] prval)
public static int numaDiscretizeRankAndIntensity(lept.NUMA na, int nbins, PointerPointer pnarbin, PointerPointer pnam, PointerPointer pnar, PointerPointer pnabb)
public static int numaDiscretizeRankAndIntensity(lept.NUMA na, int nbins, lept.NUMA pnarbin, lept.NUMA pnam, lept.NUMA pnar, lept.NUMA pnabb)
public static int numaGetRankBinValues(lept.NUMA na, int nbins, PointerPointer pnarbin, PointerPointer pnam)
public static int numaGetRankBinValues(lept.NUMA na, int nbins, lept.NUMA pnarbin, lept.NUMA pnam)
public static int numaSplitDistribution(lept.NUMA na, float scorefract, IntPointer psplitindex, FloatPointer pave1, FloatPointer pave2, FloatPointer pnum1, FloatPointer pnum2, PointerPointer pnascore)
public static int numaSplitDistribution(lept.NUMA na, float scorefract, IntPointer psplitindex, FloatPointer pave1, FloatPointer pave2, FloatPointer pnum1, FloatPointer pnum2, lept.NUMA pnascore)
public static int numaSplitDistribution(lept.NUMA na, float scorefract, IntBuffer psplitindex, FloatBuffer pave1, FloatBuffer pave2, FloatBuffer pnum1, FloatBuffer pnum2, lept.NUMA pnascore)
public static int numaSplitDistribution(lept.NUMA na, float scorefract, int[] psplitindex, float[] pave1, float[] pave2, float[] pnum1, float[] pnum2, lept.NUMA pnascore)
public static int numaEarthMoverDistance(lept.NUMA na1, lept.NUMA na2, FloatPointer pdist)
public static int numaEarthMoverDistance(lept.NUMA na1, lept.NUMA na2, FloatBuffer pdist)
public static int numaEarthMoverDistance(lept.NUMA na1, lept.NUMA na2, float[] pdist)
public static lept.NUMA numaFindPeaks(lept.NUMA nas, int nmax, float fract1, float fract2)
public static int numaCountReversals(lept.NUMA nas, float minreversal, IntPointer pnr, FloatPointer pnrpl)
public static int numaCountReversals(lept.NUMA nas, float minreversal, IntBuffer pnr, FloatBuffer pnrpl)
public static int numaCountReversals(lept.NUMA nas, float minreversal, int[] pnr, float[] pnrpl)
public static int numaSelectCrossingThreshold(lept.NUMA nax, lept.NUMA nay, float estthresh, FloatPointer pbestthresh)
public static int numaSelectCrossingThreshold(lept.NUMA nax, lept.NUMA nay, float estthresh, FloatBuffer pbestthresh)
public static int numaSelectCrossingThreshold(lept.NUMA nax, lept.NUMA nay, float estthresh, float[] pbestthresh)
public static lept.NUMA numaCrossingsByThreshold(lept.NUMA nax, lept.NUMA nay, float thresh)
public static lept.NUMA numaCrossingsByPeaks(lept.NUMA nax, lept.NUMA nay, float delta)
public static int numaEvalBestHaarParameters(lept.NUMA nas, float relweight, int nwidth, int nshift, float minwidth, float maxwidth, FloatPointer pbestwidth, FloatPointer pbestshift, FloatPointer pbestscore)
public static int numaEvalBestHaarParameters(lept.NUMA nas, float relweight, int nwidth, int nshift, float minwidth, float maxwidth, FloatBuffer pbestwidth, FloatBuffer pbestshift, FloatBuffer pbestscore)
public static int numaEvalBestHaarParameters(lept.NUMA nas, float relweight, int nwidth, int nshift, float minwidth, float maxwidth, float[] pbestwidth, float[] pbestshift, float[] pbestscore)
public static int numaEvalHaarSum(lept.NUMA nas, float width, float shift, float relweight, FloatPointer pscore)
public static int numaEvalHaarSum(lept.NUMA nas, float width, float shift, float relweight, FloatBuffer pscore)
public static int numaEvalHaarSum(lept.NUMA nas, float width, float shift, float relweight, float[] pscore)
public static int pixGetRegionsBinary(lept.PIX pixs, PointerPointer ppixhm, PointerPointer ppixtm, PointerPointer ppixtb, int debug)
public static int pixGetRegionsBinary(lept.PIX pixs, lept.PIX ppixhm, lept.PIX ppixtm, lept.PIX ppixtb, int debug)
public static lept.PIX pixGenHalftoneMask(lept.PIX pixs, PointerPointer ppixtext, IntPointer phtfound, int debug)
public static lept.PIX pixGenHalftoneMask(lept.PIX pixs, lept.PIX ppixtext, IntPointer phtfound, int debug)
public static lept.PIX pixGenHalftoneMask(lept.PIX pixs, lept.PIX ppixtext, IntBuffer phtfound, int debug)
public static lept.PIX pixGenHalftoneMask(lept.PIX pixs, lept.PIX ppixtext, int[] phtfound, int debug)
public static lept.PIX pixGenTextlineMask(lept.PIX pixs, PointerPointer ppixvws, IntPointer ptlfound, int debug)
public static lept.PIX pixGenTextlineMask(lept.PIX pixs, lept.PIX ppixvws, IntPointer ptlfound, int debug)
public static lept.PIX pixGenTextlineMask(lept.PIX pixs, lept.PIX ppixvws, IntBuffer ptlfound, int debug)
public static lept.PIX pixGenTextlineMask(lept.PIX pixs, lept.PIX ppixvws, int[] ptlfound, int debug)
public static lept.PIX pixGenTextblockMask(lept.PIX pixs, lept.PIX pixvws, int debug)
public static lept.BOX pixFindPageForeground(lept.PIX pixs, int threshold, int mindist, int erasedist, int pagenum, int showmorph, int display, BytePointer pdfdir)
public static lept.BOX pixFindPageForeground(lept.PIX pixs, int threshold, int mindist, int erasedist, int pagenum, int showmorph, int display, String pdfdir)
public static int pixSplitIntoCharacters(lept.PIX pixs, int minw, int minh, PointerPointer pboxa, PointerPointer ppixa, PointerPointer ppixdebug)
public static int pixSplitIntoCharacters(lept.PIX pixs, int minw, int minh, lept.BOXA pboxa, lept.PIXA ppixa, lept.PIX ppixdebug)
public static lept.BOXA pixSplitComponentWithProfile(lept.PIX pixs, int delta, int mindel, PointerPointer ppixdebug)
public static lept.BOXA pixSplitComponentWithProfile(lept.PIX pixs, int delta, int mindel, lept.PIX ppixdebug)
public static int pixSetSelectCmap(lept.PIX pixs, lept.BOX box, int sindex, int rval, int gval, int bval)
public static int pixColorGrayRegionsCmap(lept.PIX pixs, lept.BOXA boxa, int type, int rval, int gval, int bval)
public static int pixColorGrayCmap(lept.PIX pixs, lept.BOX box, int type, int rval, int gval, int bval)
public static int addColorizedGrayToCmap(lept.PIXCMAP cmap, int type, int rval, int gval, int bval, PointerPointer pna)
public static int addColorizedGrayToCmap(lept.PIXCMAP cmap, int type, int rval, int gval, int bval, lept.NUMA pna)
public static int pixSetSelectMaskedCmap(lept.PIX pixs, lept.PIX pixm, int x, int y, int sindex, int rval, int gval, int bval)
public static int pixSetMaskedCmap(lept.PIX pixs, lept.PIX pixm, int x, int y, int rval, int gval, int bval)
public static BytePointer parseForProtos(BytePointer filein, BytePointer prestring)
public static ByteBuffer parseForProtos(String filein, String prestring)
public static lept.BOXA boxaGetWhiteblocks(lept.BOXA boxas, lept.BOX box, int sortflag, int maxboxes, float maxoverlap, int maxperim, float fract, int maxpops)
public static lept.BOXA boxaPruneSortedOnOverlap(lept.BOXA boxas, float maxoverlap)
public static int convertFilesToPdf(BytePointer dirname, BytePointer substr, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer fileout)
public static int convertFilesToPdf(String dirname, String substr, int res, float scalefactor, int type, int quality, String title, String fileout)
public static int saConvertFilesToPdf(lept.SARRAY sa, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer fileout)
public static int saConvertFilesToPdf(lept.SARRAY sa, int res, float scalefactor, int type, int quality, String title, String fileout)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int saConvertFilesToPdfData(lept.SARRAY sa, int res, float scalefactor, int type, int quality, String title, byte[] pdata, SizeTPointer pnbytes)
public static int selectDefaultPdfEncoding(lept.PIX pix, IntPointer ptype)
public static int selectDefaultPdfEncoding(lept.PIX pix, int[] ptype)
public static int convertUnscaledFilesToPdf(BytePointer dirname, BytePointer substr, BytePointer title, BytePointer fileout)
public static int convertUnscaledFilesToPdf(String dirname, String substr, String title, String fileout)
public static int saConvertUnscaledFilesToPdf(lept.SARRAY sa, BytePointer title, BytePointer fileout)
public static int saConvertUnscaledFilesToPdf(lept.SARRAY sa, String title, String fileout)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int saConvertUnscaledFilesToPdfData(lept.SARRAY sa, String title, byte[] pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(BytePointer fname, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(BytePointer fname, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(String fname, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(BytePointer fname, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(String fname, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(BytePointer fname, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int convertUnscaledToPdfData(String fname, String title, byte[] pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdf(lept.PIXA pixa, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer fileout)
public static int pixaConvertToPdf(lept.PIXA pixa, int res, float scalefactor, int type, int quality, String title, String fileout)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixaConvertToPdfData(lept.PIXA pixa, int res, float scalefactor, int type, int quality, String title, byte[] pdata, SizeTPointer pnbytes)
public static int convertToPdf(BytePointer filein, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, PointerPointer plpd, int position)
public static int convertToPdf(BytePointer filein, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertToPdf(String filein, int type, int quality, String fileout, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdf(BytePointer imdata, long size, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, PointerPointer plpd, int position)
public static int convertImageDataToPdf(BytePointer imdata, long size, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdf(ByteBuffer imdata, long size, int type, int quality, String fileout, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdf(byte[] imdata,
long size,
int type,
int quality,
BytePointer fileout,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position)
public static int convertImageDataToPdf(BytePointer imdata, long size, int type, int quality, String fileout, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdf(ByteBuffer imdata, long size, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdf(byte[] imdata,
long size,
int type,
int quality,
String fileout,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position)
public static int convertToPdfData(BytePointer filein, int type, int quality, PointerPointer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, PointerPointer plpd, int position)
public static int convertToPdfData(BytePointer filein, int type, int quality, BytePointer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertToPdfData(String filein, int type, int quality, ByteBuffer pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertToPdfData(BytePointer filein, int type, int quality, byte[] pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertToPdfData(String filein, int type, int quality, BytePointer pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertToPdfData(BytePointer filein, int type, int quality, ByteBuffer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertToPdfData(String filein, int type, int quality, byte[] pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdfData(BytePointer imdata, long size, int type, int quality, PointerPointer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, PointerPointer plpd, int position)
public static int convertImageDataToPdfData(BytePointer imdata, long size, int type, int quality, BytePointer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdfData(ByteBuffer imdata, long size, int type, int quality, ByteBuffer pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdfData(byte[] imdata,
long size,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
BytePointer title,
lept.L_PDF_DATA plpd,
int position)
public static int convertImageDataToPdfData(BytePointer imdata, long size, int type, int quality, BytePointer pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdfData(ByteBuffer imdata, long size, int type, int quality, ByteBuffer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int convertImageDataToPdfData(byte[] imdata,
long size,
int type,
int quality,
byte[] pdata,
SizeTPointer pnbytes,
int x,
int y,
int res,
String title,
lept.L_PDF_DATA plpd,
int position)
public static int pixConvertToPdf(lept.PIX pix, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, PointerPointer plpd, int position)
public static int pixConvertToPdf(lept.PIX pix, int type, int quality, BytePointer fileout, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int pixConvertToPdf(lept.PIX pix, int type, int quality, String fileout, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int pixWriteStreamPdf(Pointer fp, lept.PIX pix, int res, BytePointer title)
public static int pixWriteStreamPdf(Pointer fp, lept.PIX pix, int res, String title)
public static int pixWriteMemPdf(PointerPointer pdata, SizeTPointer pnbytes, lept.PIX pix, int res, BytePointer title)
public static int pixWriteMemPdf(BytePointer pdata, SizeTPointer pnbytes, lept.PIX pix, int res, BytePointer title)
public static int pixWriteMemPdf(ByteBuffer pdata, SizeTPointer pnbytes, lept.PIX pix, int res, String title)
public static int pixWriteMemPdf(byte[] pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
BytePointer title)
public static int pixWriteMemPdf(BytePointer pdata, SizeTPointer pnbytes, lept.PIX pix, int res, String title)
public static int pixWriteMemPdf(ByteBuffer pdata, SizeTPointer pnbytes, lept.PIX pix, int res, BytePointer title)
public static int pixWriteMemPdf(byte[] pdata,
SizeTPointer pnbytes,
lept.PIX pix,
int res,
String title)
public static int convertSegmentedFilesToPdf(BytePointer dirname, BytePointer substr, int res, int type, int thresh, lept.BOXAA baa, int quality, float scalefactor, BytePointer title, BytePointer fileout)
public static int convertSegmentedFilesToPdf(String dirname, String substr, int res, int type, int thresh, lept.BOXAA baa, int quality, float scalefactor, String title, String fileout)
public static lept.BOXAA convertNumberedMasksToBoxaa(BytePointer dirname, BytePointer substr, int numpre, int numpost)
public static lept.BOXAA convertNumberedMasksToBoxaa(String dirname, String substr, int numpre, int numpost)
public static int convertToPdfSegmented(BytePointer filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, BytePointer fileout)
public static int convertToPdfSegmented(String filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, String fileout)
public static int pixConvertToPdfSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, BytePointer fileout)
public static int pixConvertToPdfSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, String fileout)
public static int convertToPdfDataSegmented(BytePointer filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int convertToPdfDataSegmented(BytePointer filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int convertToPdfDataSegmented(String filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int convertToPdfDataSegmented(BytePointer filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int convertToPdfDataSegmented(String filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int convertToPdfDataSegmented(BytePointer filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int convertToPdfDataSegmented(String filein, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, byte[] pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfDataSegmented(lept.PIX pixs, int res, int type, int thresh, lept.BOXA boxa, int quality, float scalefactor, String title, byte[] pdata, SizeTPointer pnbytes)
public static int concatenatePdf(BytePointer dirname, BytePointer substr, BytePointer fileout)
public static int saConcatenatePdf(lept.SARRAY sa, BytePointer fileout)
public static int saConcatenatePdf(lept.SARRAY sa, String fileout)
public static int ptraConcatenatePdf(lept.L_PTRA pa, BytePointer fileout)
public static int ptraConcatenatePdf(lept.L_PTRA pa, String fileout)
public static int concatenatePdfToData(BytePointer dirname, BytePointer substr, PointerPointer pdata, SizeTPointer pnbytes)
public static int concatenatePdfToData(BytePointer dirname, BytePointer substr, BytePointer pdata, SizeTPointer pnbytes)
public static int concatenatePdfToData(String dirname, String substr, ByteBuffer pdata, SizeTPointer pnbytes)
public static int concatenatePdfToData(BytePointer dirname, BytePointer substr, byte[] pdata, SizeTPointer pnbytes)
public static int concatenatePdfToData(String dirname, String substr, BytePointer pdata, SizeTPointer pnbytes)
public static int concatenatePdfToData(BytePointer dirname, BytePointer substr, ByteBuffer pdata, SizeTPointer pnbytes)
public static int concatenatePdfToData(String dirname, String substr, byte[] pdata, SizeTPointer pnbytes)
public static int saConcatenatePdfToData(lept.SARRAY sa, PointerPointer pdata, SizeTPointer pnbytes)
public static int saConcatenatePdfToData(lept.SARRAY sa, BytePointer pdata, SizeTPointer pnbytes)
public static int saConcatenatePdfToData(lept.SARRAY sa, ByteBuffer pdata, SizeTPointer pnbytes)
public static int saConcatenatePdfToData(lept.SARRAY sa, byte[] pdata, SizeTPointer pnbytes)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, PointerPointer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, PointerPointer plpd, int position)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, BytePointer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, ByteBuffer pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, byte[] pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, BytePointer pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, ByteBuffer pdata, SizeTPointer pnbytes, int x, int y, int res, BytePointer title, lept.L_PDF_DATA plpd, int position)
public static int pixConvertToPdfData(lept.PIX pix, int type, int quality, byte[] pdata, SizeTPointer pnbytes, int x, int y, int res, String title, lept.L_PDF_DATA plpd, int position)
public static int ptraConcatenatePdfToData(lept.L_PTRA pa_data, lept.SARRAY sa, PointerPointer pdata, SizeTPointer pnbytes)
public static int ptraConcatenatePdfToData(lept.L_PTRA pa_data, lept.SARRAY sa, BytePointer pdata, SizeTPointer pnbytes)
public static int ptraConcatenatePdfToData(lept.L_PTRA pa_data, lept.SARRAY sa, ByteBuffer pdata, SizeTPointer pnbytes)
public static int ptraConcatenatePdfToData(lept.L_PTRA pa_data, lept.SARRAY sa, byte[] pdata, SizeTPointer pnbytes)
public static int l_generateCIDataForPdf(BytePointer fname, lept.PIX pix, int quality, PointerPointer pcid)
public static int l_generateCIDataForPdf(BytePointer fname, lept.PIX pix, int quality, lept.L_COMP_DATA pcid)
public static int l_generateCIDataForPdf(String fname, lept.PIX pix, int quality, lept.L_COMP_DATA pcid)
public static lept.L_COMP_DATA l_generateFlateDataPdf(BytePointer fname)
public static lept.L_COMP_DATA l_generateFlateDataPdf(String fname)
public static lept.L_COMP_DATA l_generateJpegData(BytePointer fname, int ascii85flag)
public static lept.L_COMP_DATA l_generateJpegData(String fname, int ascii85flag)
public static int l_generateCIData(BytePointer fname, int type, int quality, int ascii85, PointerPointer pcid)
public static int l_generateCIData(BytePointer fname, int type, int quality, int ascii85, lept.L_COMP_DATA pcid)
public static int l_generateCIData(String fname, int type, int quality, int ascii85, lept.L_COMP_DATA pcid)
public static int pixGenerateCIData(lept.PIX pixs, int type, int quality, int ascii85, PointerPointer pcid)
public static int pixGenerateCIData(lept.PIX pixs, int type, int quality, int ascii85, lept.L_COMP_DATA pcid)
public static lept.L_COMP_DATA l_generateFlateData(BytePointer fname, int ascii85flag)
public static lept.L_COMP_DATA l_generateFlateData(String fname, int ascii85flag)
public static lept.L_COMP_DATA l_generateG4Data(BytePointer fname, int ascii85flag)
public static lept.L_COMP_DATA l_generateG4Data(String fname, int ascii85flag)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int cidConvertToPdfData(lept.L_COMP_DATA cid, String title, byte[] pdata, SizeTPointer pnbytes)
public static void l_CIDataDestroy(PointerPointer pcid)
public static void l_CIDataDestroy(lept.L_COMP_DATA pcid)
public static void l_pdfSetG4ImageMask(int flag)
public static void l_pdfSetDateAndVersion(int flag)
public static void setPixMemoryManager(lept.Allocator_long allocator, lept.Deallocator_Pointer deallocator)
public static lept.PIX pixCreate(int width, int height, int depth)
public static lept.PIX pixCreateNoInit(int width, int height, int depth)
public static lept.PIX pixCreateHeader(int width, int height, int depth)
public static void pixDestroy(PointerPointer ppix)
public static void pixDestroy(lept.PIX ppix)
public static int pixTransferAllData(lept.PIX pixd, PointerPointer ppixs, int copytext, int copyformat)
public static int pixTransferAllData(lept.PIX pixd, lept.PIX ppixs, int copytext, int copyformat)
public static int pixSwapAndDestroy(PointerPointer ppixd, PointerPointer ppixs)
public static int pixGetWidth(lept.PIX pix)
public static int pixSetWidth(lept.PIX pix, int width)
public static int pixGetHeight(lept.PIX pix)
public static int pixSetHeight(lept.PIX pix, int height)
public static int pixGetDepth(lept.PIX pix)
public static int pixSetDepth(lept.PIX pix, int depth)
public static int pixGetDimensions(lept.PIX pix, IntPointer pw, IntPointer ph, IntPointer pd)
public static int pixGetDimensions(lept.PIX pix, IntBuffer pw, IntBuffer ph, IntBuffer pd)
public static int pixGetDimensions(lept.PIX pix, int[] pw, int[] ph, int[] pd)
public static int pixSetDimensions(lept.PIX pix, int w, int h, int d)
public static int pixGetSpp(lept.PIX pix)
public static int pixSetSpp(lept.PIX pix, int spp)
public static int pixGetWpl(lept.PIX pix)
public static int pixSetWpl(lept.PIX pix, int wpl)
public static int pixGetRefcount(lept.PIX pix)
public static int pixChangeRefcount(lept.PIX pix, int delta)
public static int pixGetXRes(lept.PIX pix)
public static int pixSetXRes(lept.PIX pix, int res)
public static int pixGetYRes(lept.PIX pix)
public static int pixSetYRes(lept.PIX pix, int res)
public static int pixGetResolution(lept.PIX pix, IntPointer pxres, IntPointer pyres)
public static int pixGetResolution(lept.PIX pix, int[] pxres, int[] pyres)
public static int pixSetResolution(lept.PIX pix, int xres, int yres)
public static int pixScaleResolution(lept.PIX pix, float xscale, float yscale)
public static int pixGetInputFormat(lept.PIX pix)
public static int pixSetInputFormat(lept.PIX pix, int informat)
public static BytePointer pixGetText(lept.PIX pix)
public static int pixSetText(lept.PIX pix, BytePointer textstring)
public static int pixAddText(lept.PIX pix, BytePointer textstring)
public static lept.PIXCMAP pixGetColormap(lept.PIX pix)
public static int pixSetColormap(lept.PIX pix, lept.PIXCMAP colormap)
public static int pixDestroyColormap(lept.PIX pix)
public static IntPointer pixGetData(lept.PIX pix)
public static int pixSetData(lept.PIX pix, IntPointer data)
public static int pixSetData(lept.PIX pix, int[] data)
public static IntPointer pixExtractData(lept.PIX pixs)
public static int pixFreeData(lept.PIX pix)
public static PointerPointer pixGetLinePtrs(lept.PIX pix, IntPointer psize)
public static int pixPrintStreamInfo(Pointer fp, lept.PIX pix, BytePointer text)
public static int pixGetPixel(lept.PIX pix, int x, int y, IntPointer pval)
public static int pixGetPixel(lept.PIX pix, int x, int y, int[] pval)
public static int pixSetPixel(lept.PIX pix, int x, int y, int val)
public static int pixGetRGBPixel(lept.PIX pix, int x, int y, IntPointer prval, IntPointer pgval, IntPointer pbval)
public static int pixGetRGBPixel(lept.PIX pix, int x, int y, IntBuffer prval, IntBuffer pgval, IntBuffer pbval)
public static int pixGetRGBPixel(lept.PIX pix, int x, int y, int[] prval, int[] pgval, int[] pbval)
public static int pixSetRGBPixel(lept.PIX pix, int x, int y, int rval, int gval, int bval)
public static int pixGetRandomPixel(lept.PIX pix, IntPointer pval, IntPointer px, IntPointer py)
public static int pixGetRandomPixel(lept.PIX pix, IntBuffer pval, IntBuffer px, IntBuffer py)
public static int pixGetRandomPixel(lept.PIX pix, int[] pval, int[] px, int[] py)
public static int pixClearPixel(lept.PIX pix, int x, int y)
public static int pixFlipPixel(lept.PIX pix, int x, int y)
public static void setPixelLow(IntPointer line, int x, int depth, int val)
public static void setPixelLow(IntBuffer line, int x, int depth, int val)
public static void setPixelLow(int[] line,
int x,
int depth,
int val)
public static int pixGetBlackOrWhiteVal(lept.PIX pixs, int op, IntPointer pval)
public static int pixGetBlackOrWhiteVal(lept.PIX pixs, int op, IntBuffer pval)
public static int pixGetBlackOrWhiteVal(lept.PIX pixs, int op, int[] pval)
public static int pixClearAll(lept.PIX pix)
public static int pixSetAll(lept.PIX pix)
public static int pixSetAllGray(lept.PIX pix, int grayval)
public static int pixSetAllArbitrary(lept.PIX pix, int val)
public static int pixSetBlackOrWhite(lept.PIX pixs, int op)
public static int pixSetComponentArbitrary(lept.PIX pix, int comp, int val)
public static int pixSetPadBits(lept.PIX pix, int val)
public static int pixSetPadBitsBand(lept.PIX pix, int by, int bh, int val)
public static int pixSetOrClearBorder(lept.PIX pixs, int left, int right, int top, int bot, int op)
public static int pixSetBorderVal(lept.PIX pixs, int left, int right, int top, int bot, int val)
public static int pixSetBorderRingVal(lept.PIX pixs, int dist, int val)
public static int pixSetMirroredBorder(lept.PIX pixs, int left, int right, int top, int bot)
public static lept.PIX pixCopyBorder(lept.PIX pixd, lept.PIX pixs, int left, int right, int top, int bot)
public static lept.PIX pixAddBlackOrWhiteBorder(lept.PIX pixs, int left, int right, int top, int bot, int op)
public static lept.PIX pixAddBorderGeneral(lept.PIX pixs, int left, int right, int top, int bot, int val)
public static lept.PIX pixRemoveBorderGeneral(lept.PIX pixs, int left, int right, int top, int bot)
public static lept.PIX pixAddMirroredBorder(lept.PIX pixs, int left, int right, int top, int bot)
public static lept.PIX pixAddRepeatedBorder(lept.PIX pixs, int left, int right, int top, int bot)
public static lept.PIX pixAddMixedBorder(lept.PIX pixs, int left, int right, int top, int bot)
public static lept.PIX pixAddContinuedBorder(lept.PIX pixs, int left, int right, int top, int bot)
public static int pixShiftAndTransferAlpha(lept.PIX pixd, lept.PIX pixs, float shiftx, float shifty)
public static lept.PIX pixCreateRGBImage(lept.PIX pixr, lept.PIX pixg, lept.PIX pixb)
public static int composeRGBPixel(int rval,
int gval,
int bval,
IntPointer ppixel)
public static int composeRGBPixel(int rval,
int gval,
int bval,
IntBuffer ppixel)
public static int composeRGBPixel(int rval,
int gval,
int bval,
int[] ppixel)
public static int composeRGBAPixel(int rval,
int gval,
int bval,
int aval,
IntPointer ppixel)
public static int composeRGBAPixel(int rval,
int gval,
int bval,
int aval,
IntBuffer ppixel)
public static int composeRGBAPixel(int rval,
int gval,
int bval,
int aval,
int[] ppixel)
public static void extractRGBValues(int pixel,
IntPointer prval,
IntPointer pgval,
IntPointer pbval)
public static void extractRGBValues(int pixel,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval)
public static void extractRGBValues(int pixel,
int[] prval,
int[] pgval,
int[] pbval)
public static void extractRGBAValues(int pixel,
IntPointer prval,
IntPointer pgval,
IntPointer pbval,
IntPointer paval)
public static void extractRGBAValues(int pixel,
IntBuffer prval,
IntBuffer pgval,
IntBuffer pbval,
IntBuffer paval)
public static void extractRGBAValues(int pixel,
int[] prval,
int[] pgval,
int[] pbval,
int[] paval)
public static int extractMinMaxComponent(int pixel,
int type)
public static int pixGetRGBLine(lept.PIX pixs, int row, BytePointer bufr, BytePointer bufg, BytePointer bufb)
public static int pixGetRGBLine(lept.PIX pixs, int row, ByteBuffer bufr, ByteBuffer bufg, ByteBuffer bufb)
public static int pixGetRGBLine(lept.PIX pixs, int row, byte[] bufr, byte[] bufg, byte[] bufb)
public static int pixEndianByteSwap(lept.PIX pixs)
public static int lineEndianByteSwap(IntPointer datad, IntPointer datas, int wpl)
public static int lineEndianByteSwap(int[] datad,
int[] datas,
int wpl)
public static int pixEndianTwoByteSwap(lept.PIX pixs)
public static int pixGetRasterData(lept.PIX pixs, PointerPointer pdata, SizeTPointer pnbytes)
public static int pixGetRasterData(lept.PIX pixs, BytePointer pdata, SizeTPointer pnbytes)
public static int pixGetRasterData(lept.PIX pixs, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixGetRasterData(lept.PIX pixs, byte[] pdata, SizeTPointer pnbytes)
public static int pixAlphaIsOpaque(lept.PIX pix, IntPointer popaque)
public static int pixAlphaIsOpaque(lept.PIX pix, int[] popaque)
public static PointerPointer pixSetupByteProcessing(lept.PIX pix, IntPointer pw, IntPointer ph)
public static ByteBuffer pixSetupByteProcessing(lept.PIX pix, IntBuffer pw, IntBuffer ph)
public static byte[] pixSetupByteProcessing(lept.PIX pix, int[] pw, int[] ph)
public static int pixCleanupByteProcessing(lept.PIX pix, PointerPointer lineptrs)
public static int pixCleanupByteProcessing(lept.PIX pix, BytePointer lineptrs)
public static int pixCleanupByteProcessing(lept.PIX pix, ByteBuffer lineptrs)
public static int pixCleanupByteProcessing(lept.PIX pix, byte[] lineptrs)
public static void l_setAlphaMaskBorder(float val1,
float val2)
public static int pixSetMaskedGeneral(lept.PIX pixd, lept.PIX pixm, int val, int x, int y)
public static int pixCombineMaskedGeneral(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int x, int y)
public static int pixPaintThroughMask(lept.PIX pixd, lept.PIX pixm, int x, int y, int val)
public static int pixPaintSelfThroughMask(lept.PIX pixd, lept.PIX pixm, int x, int y, int tilesize, int searchdir)
public static lept.PIX pixMakeMaskFromLUT(lept.PIX pixs, IntPointer tab)
public static lept.PIX pixSetUnderTransparency(lept.PIX pixs, int val, int debug)
public static int pixZero(lept.PIX pix, IntPointer pempty)
public static int pixZero(lept.PIX pix, int[] pempty)
public static int pixForegroundFraction(lept.PIX pix, FloatPointer pfract)
public static int pixForegroundFraction(lept.PIX pix, FloatBuffer pfract)
public static int pixForegroundFraction(lept.PIX pix, float[] pfract)
public static int pixCountPixels(lept.PIX pix, IntPointer pcount, IntPointer tab8)
public static int pixCountPixels(lept.PIX pix, int[] pcount, int[] tab8)
public static lept.NUMA pixCountPixelsByRow(lept.PIX pix, IntPointer tab8)
public static int pixCountPixelsInRow(lept.PIX pix, int row, IntPointer pcount, IntPointer tab8)
public static int pixCountPixelsInRow(lept.PIX pix, int row, IntBuffer pcount, IntBuffer tab8)
public static int pixCountPixelsInRow(lept.PIX pix, int row, int[] pcount, int[] tab8)
public static int pixThresholdPixelSum(lept.PIX pix, int thresh, IntPointer pabove, IntPointer tab8)
public static int pixThresholdPixelSum(lept.PIX pix, int thresh, IntBuffer pabove, IntBuffer tab8)
public static int pixThresholdPixelSum(lept.PIX pix, int thresh, int[] pabove, int[] tab8)
public static IntPointer makePixelSumTab8()
public static IntPointer makePixelCentroidTab8()
public static int pixAverageInRect(lept.PIX pix, lept.BOX box, FloatPointer pave)
public static int pixAverageInRect(lept.PIX pix, lept.BOX box, FloatBuffer pave)
public static int pixVarianceInRect(lept.PIX pix, lept.BOX box, FloatPointer prootvar)
public static int pixVarianceInRect(lept.PIX pix, lept.BOX box, FloatBuffer prootvar)
public static int pixAbsDiffInRect(lept.PIX pix, lept.BOX box, int dir, FloatPointer pabsdiff)
public static int pixAbsDiffInRect(lept.PIX pix, lept.BOX box, int dir, FloatBuffer pabsdiff)
public static int pixAbsDiffInRect(lept.PIX pix, lept.BOX box, int dir, float[] pabsdiff)
public static int pixAbsDiffOnLine(lept.PIX pix, int x1, int y1, int x2, int y2, FloatPointer pabsdiff)
public static int pixAbsDiffOnLine(lept.PIX pix, int x1, int y1, int x2, int y2, FloatBuffer pabsdiff)
public static int pixAbsDiffOnLine(lept.PIX pix, int x1, int y1, int x2, int y2, float[] pabsdiff)
public static int pixCountArbInRect(lept.PIX pixs, lept.BOX box, int val, int factor, IntPointer pcount)
public static int pixCountArbInRect(lept.PIX pixs, lept.BOX box, int val, int factor, IntBuffer pcount)
public static int pixCountArbInRect(lept.PIX pixs, lept.BOX box, int val, int factor, int[] pcount)
public static lept.NUMA pixGetGrayHistogramMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor)
public static lept.NUMA pixGetGrayHistogramInRect(lept.PIX pixs, lept.BOX box, int factor)
public static int pixGetColorHistogram(lept.PIX pixs, int factor, PointerPointer pnar, PointerPointer pnag, PointerPointer pnab)
public static int pixGetColorHistogram(lept.PIX pixs, int factor, lept.NUMA pnar, lept.NUMA pnag, lept.NUMA pnab)
public static int pixGetColorHistogramMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, PointerPointer pnar, PointerPointer pnag, PointerPointer pnab)
public static int pixGetColorHistogramMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, lept.NUMA pnar, lept.NUMA pnag, lept.NUMA pnab)
public static lept.NUMA pixGetCmapHistogramMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor)
public static lept.NUMA pixGetCmapHistogramInRect(lept.PIX pixs, lept.BOX box, int factor)
public static int pixGetRankValue(lept.PIX pixs, int factor, float rank, IntPointer pvalue)
public static int pixGetRankValue(lept.PIX pixs, int factor, float rank, IntBuffer pvalue)
public static int pixGetRankValue(lept.PIX pixs, int factor, float rank, int[] pvalue)
public static int pixGetRankValueMaskedRGB(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, FloatPointer prval, FloatPointer pgval, FloatPointer pbval)
public static int pixGetRankValueMaskedRGB(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, FloatBuffer prval, FloatBuffer pgval, FloatBuffer pbval)
public static int pixGetRankValueMaskedRGB(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, float[] prval, float[] pgval, float[] pbval)
public static int pixGetRankValueMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, FloatPointer pval, PointerPointer pna)
public static int pixGetRankValueMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, FloatPointer pval, lept.NUMA pna)
public static int pixGetRankValueMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, FloatBuffer pval, lept.NUMA pna)
public static int pixGetRankValueMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, float rank, float[] pval, lept.NUMA pna)
public static int pixGetAverageValue(lept.PIX pixs, int factor, int type, IntPointer pvalue)
public static int pixGetAverageValue(lept.PIX pixs, int factor, int type, IntBuffer pvalue)
public static int pixGetAverageValue(lept.PIX pixs, int factor, int type, int[] pvalue)
public static int pixGetAverageMaskedRGB(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, int type, FloatPointer prval, FloatPointer pgval, FloatPointer pbval)
public static int pixGetAverageMaskedRGB(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, int type, FloatBuffer prval, FloatBuffer pgval, FloatBuffer pbval)
public static int pixGetAverageMaskedRGB(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, int type, float[] prval, float[] pgval, float[] pbval)
public static int pixGetAverageMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, int type, FloatPointer pval)
public static int pixGetAverageMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, int type, FloatBuffer pval)
public static int pixGetAverageMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int factor, int type, float[] pval)
public static int pixGetAverageTiledRGB(lept.PIX pixs, int sx, int sy, int type, PointerPointer ppixr, PointerPointer ppixg, PointerPointer ppixb)
public static int pixGetAverageTiledRGB(lept.PIX pixs, int sx, int sy, int type, lept.PIX ppixr, lept.PIX ppixg, lept.PIX ppixb)
public static lept.PIX pixGetAverageTiled(lept.PIX pixs, int sx, int sy, int type)
public static int pixRowStats(lept.PIX pixs, lept.BOX box, PointerPointer pnamean, PointerPointer pnamedian, PointerPointer pnamode, PointerPointer pnamodecount, PointerPointer pnavar, PointerPointer pnarootvar)
public static int pixRowStats(lept.PIX pixs, lept.BOX box, lept.NUMA pnamean, lept.NUMA pnamedian, lept.NUMA pnamode, lept.NUMA pnamodecount, lept.NUMA pnavar, lept.NUMA pnarootvar)
public static int pixColumnStats(lept.PIX pixs, lept.BOX box, PointerPointer pnamean, PointerPointer pnamedian, PointerPointer pnamode, PointerPointer pnamodecount, PointerPointer pnavar, PointerPointer pnarootvar)
public static int pixColumnStats(lept.PIX pixs, lept.BOX box, lept.NUMA pnamean, lept.NUMA pnamedian, lept.NUMA pnamode, lept.NUMA pnamodecount, lept.NUMA pnavar, lept.NUMA pnarootvar)
public static int pixGetComponentRange(lept.PIX pixs, int factor, int color, IntPointer pminval, IntPointer pmaxval)
public static int pixGetComponentRange(lept.PIX pixs, int factor, int color, IntBuffer pminval, IntBuffer pmaxval)
public static int pixGetComponentRange(lept.PIX pixs, int factor, int color, int[] pminval, int[] pmaxval)
public static int pixGetExtremeValue(lept.PIX pixs, int factor, int type, IntPointer prval, IntPointer pgval, IntPointer pbval, IntPointer pgrayval)
public static int pixGetExtremeValue(lept.PIX pixs, int factor, int type, IntBuffer prval, IntBuffer pgval, IntBuffer pbval, IntBuffer pgrayval)
public static int pixGetExtremeValue(lept.PIX pixs, int factor, int type, int[] prval, int[] pgval, int[] pbval, int[] pgrayval)
public static int pixGetMaxValueInRect(lept.PIX pixs, lept.BOX box, IntPointer pmaxval, IntPointer pxmax, IntPointer pymax)
public static int pixGetMaxValueInRect(lept.PIX pixs, lept.BOX box, IntBuffer pmaxval, IntBuffer pxmax, IntBuffer pymax)
public static int pixGetMaxValueInRect(lept.PIX pixs, lept.BOX box, int[] pmaxval, int[] pxmax, int[] pymax)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, IntPointer pminval, IntPointer pmaxval, PointerPointer pcarray, BytePointer fontdir)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, IntPointer pminval, IntPointer pmaxval, IntPointer pcarray, BytePointer fontdir)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, IntBuffer pminval, IntBuffer pmaxval, IntBuffer pcarray, String fontdir)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, int[] pminval, int[] pmaxval, int[] pcarray, BytePointer fontdir)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, IntPointer pminval, IntPointer pmaxval, IntPointer pcarray, String fontdir)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, IntBuffer pminval, IntBuffer pmaxval, IntBuffer pcarray, BytePointer fontdir)
public static int pixGetBinnedComponentRange(lept.PIX pixs, int nbins, int factor, int color, int[] pminval, int[] pmaxval, int[] pcarray, String fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, PointerPointer pcarray, int debugflag, BytePointer fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, IntPointer pcarray, int debugflag, BytePointer fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, IntBuffer pcarray, int debugflag, String fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, int[] pcarray, int debugflag, BytePointer fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, IntPointer pcarray, int debugflag, String fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, IntBuffer pcarray, int debugflag, BytePointer fontdir)
public static int pixGetRankColorArray(lept.PIX pixs, int nbins, int type, int factor, int[] pcarray, int debugflag, String fontdir)
public static int pixGetBinnedColor(lept.PIX pixs, lept.PIX pixg, int factor, int nbins, lept.NUMA nalut, PointerPointer pcarray, int debugflag)
public static int pixGetBinnedColor(lept.PIX pixs, lept.PIX pixg, int factor, int nbins, lept.NUMA nalut, IntPointer pcarray, int debugflag)
public static int pixGetBinnedColor(lept.PIX pixs, lept.PIX pixg, int factor, int nbins, lept.NUMA nalut, IntBuffer pcarray, int debugflag)
public static int pixGetBinnedColor(lept.PIX pixs, lept.PIX pixg, int factor, int nbins, lept.NUMA nalut, int[] pcarray, int debugflag)
public static lept.PIX pixDisplayColorArray(IntPointer carray, int ncolors, int side, int ncols, BytePointer fontdir)
public static lept.PIX pixDisplayColorArray(IntBuffer carray, int ncolors, int side, int ncols, String fontdir)
public static lept.PIX pixDisplayColorArray(int[] carray, int ncolors, int side, int ncols, BytePointer fontdir)
public static lept.PIX pixDisplayColorArray(IntPointer carray, int ncolors, int side, int ncols, String fontdir)
public static lept.PIX pixDisplayColorArray(IntBuffer carray, int ncolors, int side, int ncols, BytePointer fontdir)
public static lept.PIX pixDisplayColorArray(int[] carray, int ncolors, int side, int ncols, String fontdir)
public static lept.PIX pixRankBinByStrip(lept.PIX pixs, int direction, int size, int nbins, int type)
public static lept.PIX pixaGetAlignedStats(lept.PIXA pixa, int type, int nbins, int thresh)
public static int pixaExtractColumnFromEachPix(lept.PIXA pixa, int col, lept.PIX pixd)
public static int pixGetRowStats(lept.PIX pixs, int type, int nbins, int thresh, FloatPointer colvect)
public static int pixGetRowStats(lept.PIX pixs, int type, int nbins, int thresh, FloatBuffer colvect)
public static int pixGetRowStats(lept.PIX pixs, int type, int nbins, int thresh, float[] colvect)
public static int pixGetColumnStats(lept.PIX pixs, int type, int nbins, int thresh, FloatPointer rowvect)
public static int pixGetColumnStats(lept.PIX pixs, int type, int nbins, int thresh, FloatBuffer rowvect)
public static int pixGetColumnStats(lept.PIX pixs, int type, int nbins, int thresh, float[] rowvect)
public static int pixSetPixelColumn(lept.PIX pix, int col, FloatPointer colvect)
public static int pixSetPixelColumn(lept.PIX pix, int col, FloatBuffer colvect)
public static int pixSetPixelColumn(lept.PIX pix, int col, float[] colvect)
public static int pixThresholdForFgBg(lept.PIX pixs, int factor, int thresh, IntPointer pfgval, IntPointer pbgval)
public static int pixThresholdForFgBg(lept.PIX pixs, int factor, int thresh, IntBuffer pfgval, IntBuffer pbgval)
public static int pixThresholdForFgBg(lept.PIX pixs, int factor, int thresh, int[] pfgval, int[] pbgval)
public static int pixSplitDistributionFgBg(lept.PIX pixs, float scorefract, int factor, IntPointer pthresh, IntPointer pfgval, IntPointer pbgval, int debugflag)
public static int pixSplitDistributionFgBg(lept.PIX pixs, float scorefract, int factor, IntBuffer pthresh, IntBuffer pfgval, IntBuffer pbgval, int debugflag)
public static int pixSplitDistributionFgBg(lept.PIX pixs, float scorefract, int factor, int[] pthresh, int[] pfgval, int[] pbgval, int debugflag)
public static int pixaFindDimensions(lept.PIXA pixa, PointerPointer pnaw, PointerPointer pnah)
public static int pixaFindDimensions(lept.PIXA pixa, lept.NUMA pnaw, lept.NUMA pnah)
public static int pixFindAreaPerimRatio(lept.PIX pixs, IntPointer tab, FloatPointer pfract)
public static int pixFindAreaPerimRatio(lept.PIX pixs, IntBuffer tab, FloatBuffer pfract)
public static int pixFindAreaPerimRatio(lept.PIX pixs, int[] tab, float[] pfract)
public static int pixFindPerimToAreaRatio(lept.PIX pixs, IntPointer tab, FloatPointer pfract)
public static int pixFindPerimToAreaRatio(lept.PIX pixs, IntBuffer tab, FloatBuffer pfract)
public static int pixFindPerimToAreaRatio(lept.PIX pixs, int[] tab, float[] pfract)
public static int pixFindPerimSizeRatio(lept.PIX pixs, IntPointer tab, FloatPointer pratio)
public static int pixFindPerimSizeRatio(lept.PIX pixs, IntBuffer tab, FloatBuffer pratio)
public static int pixFindPerimSizeRatio(lept.PIX pixs, int[] tab, float[] pratio)
public static int pixFindAreaFraction(lept.PIX pixs, IntPointer tab, FloatPointer pfract)
public static int pixFindAreaFraction(lept.PIX pixs, IntBuffer tab, FloatBuffer pfract)
public static int pixFindAreaFraction(lept.PIX pixs, int[] tab, float[] pfract)
public static lept.NUMA pixaFindAreaFractionMasked(lept.PIXA pixa, lept.PIX pixm, int debug)
public static int pixFindAreaFractionMasked(lept.PIX pixs, lept.BOX box, lept.PIX pixm, IntPointer tab, FloatPointer pfract)
public static int pixFindAreaFractionMasked(lept.PIX pixs, lept.BOX box, lept.PIX pixm, IntBuffer tab, FloatBuffer pfract)
public static int pixFindAreaFractionMasked(lept.PIX pixs, lept.BOX box, lept.PIX pixm, int[] tab, float[] pfract)
public static int pixFindOverlapFraction(lept.PIX pixs1, lept.PIX pixs2, int x2, int y2, IntPointer tab, FloatPointer pratio, IntPointer pnoverlap)
public static int pixFindOverlapFraction(lept.PIX pixs1, lept.PIX pixs2, int x2, int y2, IntBuffer tab, FloatBuffer pratio, IntBuffer pnoverlap)
public static int pixFindOverlapFraction(lept.PIX pixs1, lept.PIX pixs2, int x2, int y2, int[] tab, float[] pratio, int[] pnoverlap)
public static lept.BOXA pixFindRectangleComps(lept.PIX pixs, int dist, int minw, int minh)
public static int pixConformsToRectangle(lept.PIX pixs, lept.BOX box, int dist, IntPointer pconforms)
public static int pixConformsToRectangle(lept.PIX pixs, lept.BOX box, int dist, IntBuffer pconforms)
public static int pixConformsToRectangle(lept.PIX pixs, lept.BOX box, int dist, int[] pconforms)
public static lept.PIX pixClipRectangle(lept.PIX pixs, lept.BOX box, PointerPointer pboxc)
public static lept.PIX pixClipRectangle(lept.PIX pixs, lept.BOX box, lept.BOX pboxc)
public static lept.PIX pixClipMasked(lept.PIX pixs, lept.PIX pixm, int x, int y, int outval)
public static int pixCropToMatch(lept.PIX pixs1, lept.PIX pixs2, PointerPointer ppixd1, PointerPointer ppixd2)
public static int pixCropToMatch(lept.PIX pixs1, lept.PIX pixs2, lept.PIX ppixd1, lept.PIX ppixd2)
public static lept.PIX pixResizeToMatch(lept.PIX pixs, lept.PIX pixt, int w, int h)
public static int pixClipToForeground(lept.PIX pixs, PointerPointer ppixd, PointerPointer pbox)
public static int pixClipToForeground(lept.PIX pixs, lept.PIX ppixd, lept.BOX pbox)
public static int pixTestClipToForeground(lept.PIX pixs, IntPointer pcanclip)
public static int pixTestClipToForeground(lept.PIX pixs, IntBuffer pcanclip)
public static int pixTestClipToForeground(lept.PIX pixs, int[] pcanclip)
public static int pixClipBoxToForeground(lept.PIX pixs, lept.BOX boxs, PointerPointer ppixd, PointerPointer pboxd)
public static int pixClipBoxToForeground(lept.PIX pixs, lept.BOX boxs, lept.PIX ppixd, lept.BOX pboxd)
public static int pixScanForForeground(lept.PIX pixs, lept.BOX box, int scanflag, IntPointer ploc)
public static int pixScanForForeground(lept.PIX pixs, lept.BOX box, int scanflag, IntBuffer ploc)
public static int pixScanForForeground(lept.PIX pixs, lept.BOX box, int scanflag, int[] ploc)
public static int pixClipBoxToEdges(lept.PIX pixs, lept.BOX boxs, int lowthresh, int highthresh, int maxwidth, int factor, PointerPointer ppixd, PointerPointer pboxd)
public static int pixClipBoxToEdges(lept.PIX pixs, lept.BOX boxs, int lowthresh, int highthresh, int maxwidth, int factor, lept.PIX ppixd, lept.BOX pboxd)
public static int pixScanForEdge(lept.PIX pixs, lept.BOX box, int lowthresh, int highthresh, int maxwidth, int factor, int scanflag, IntPointer ploc)
public static int pixScanForEdge(lept.PIX pixs, lept.BOX box, int lowthresh, int highthresh, int maxwidth, int factor, int scanflag, IntBuffer ploc)
public static int pixScanForEdge(lept.PIX pixs, lept.BOX box, int lowthresh, int highthresh, int maxwidth, int factor, int scanflag, int[] ploc)
public static lept.NUMA pixExtractOnLine(lept.PIX pixs, int x1, int y1, int x2, int y2, int factor)
public static float pixAverageOnLine(lept.PIX pixs, int x1, int y1, int x2, int y2, int factor)
public static lept.NUMA pixAverageIntensityProfile(lept.PIX pixs, float fract, int dir, int first, int last, int factor1, int factor2)
public static lept.NUMA pixReversalProfile(lept.PIX pixs, float fract, int dir, int first, int last, int minreversal, int factor1, int factor2)
public static int pixWindowedVarianceOnLine(lept.PIX pixs, int dir, int loc, int c1, int c2, int size, PointerPointer pnad)
public static int pixWindowedVarianceOnLine(lept.PIX pixs, int dir, int loc, int c1, int c2, int size, lept.NUMA pnad)
public static int pixMinMaxNearLine(lept.PIX pixs, int x1, int y1, int x2, int y2, int dist, int direction, PointerPointer pnamin, PointerPointer pnamax, FloatPointer pminave, FloatPointer pmaxave)
public static int pixMinMaxNearLine(lept.PIX pixs, int x1, int y1, int x2, int y2, int dist, int direction, lept.NUMA pnamin, lept.NUMA pnamax, FloatPointer pminave, FloatPointer pmaxave)
public static int pixMinMaxNearLine(lept.PIX pixs, int x1, int y1, int x2, int y2, int dist, int direction, lept.NUMA pnamin, lept.NUMA pnamax, FloatBuffer pminave, FloatBuffer pmaxave)
public static int pixMinMaxNearLine(lept.PIX pixs, int x1, int y1, int x2, int y2, int dist, int direction, lept.NUMA pnamin, lept.NUMA pnamax, float[] pminave, float[] pmaxave)
public static lept.PIXA pixaCreate(int n)
public static lept.PIXA pixaCreateFromPix(lept.PIX pixs, int n, int cellw, int cellh)
public static lept.PIXA pixaCreateFromBoxa(lept.PIX pixs, lept.BOXA boxa, IntPointer pcropwarn)
public static lept.PIXA pixaCreateFromBoxa(lept.PIX pixs, lept.BOXA boxa, IntBuffer pcropwarn)
public static lept.PIXA pixaCreateFromBoxa(lept.PIX pixs, lept.BOXA boxa, int[] pcropwarn)
public static lept.PIXA pixaSplitPix(lept.PIX pixs, int nx, int ny, int borderwidth, int bordercolor)
public static void pixaDestroy(PointerPointer ppixa)
public static void pixaDestroy(lept.PIXA ppixa)
public static int pixaExtendArrayToSize(lept.PIXA pixa, int size)
public static int pixaGetCount(lept.PIXA pixa)
public static int pixaChangeRefcount(lept.PIXA pixa, int delta)
public static int pixaGetPixDimensions(lept.PIXA pixa, int index, IntPointer pw, IntPointer ph, IntPointer pd)
public static int pixaGetPixDimensions(lept.PIXA pixa, int index, IntBuffer pw, IntBuffer ph, IntBuffer pd)
public static int pixaGetPixDimensions(lept.PIXA pixa, int index, int[] pw, int[] ph, int[] pd)
public static int pixaGetBoxaCount(lept.PIXA pixa)
public static int pixaGetBoxGeometry(lept.PIXA pixa, int index, IntPointer px, IntPointer py, IntPointer pw, IntPointer ph)
public static int pixaGetBoxGeometry(lept.PIXA pixa, int index, IntBuffer px, IntBuffer py, IntBuffer pw, IntBuffer ph)
public static int pixaGetBoxGeometry(lept.PIXA pixa, int index, int[] px, int[] py, int[] pw, int[] ph)
public static PointerPointer pixaGetPixArray(lept.PIXA pixa)
public static int pixaVerifyDepth(lept.PIXA pixa, IntPointer pmaxdepth)
public static int pixaVerifyDepth(lept.PIXA pixa, int[] pmaxdepth)
public static int pixaIsFull(lept.PIXA pixa, IntPointer pfullpa, IntPointer pfullba)
public static int pixaIsFull(lept.PIXA pixa, int[] pfullpa, int[] pfullba)
public static int pixaCountText(lept.PIXA pixa, IntPointer pntext)
public static int pixaCountText(lept.PIXA pixa, int[] pntext)
public static PointerPointer pixaGetLinePtrs(lept.PIXA pixa, IntPointer psize)
public static PointerPointer pixaGetLinePtrs(lept.PIXA pixa, IntBuffer psize)
public static PointerPointer pixaGetLinePtrs(lept.PIXA pixa, int[] psize)
public static int pixaReplacePix(lept.PIXA pixa, int index, lept.PIX pix, lept.BOX box)
public static int pixaInsertPix(lept.PIXA pixa, int index, lept.PIX pixs, lept.BOX box)
public static int pixaRemovePix(lept.PIXA pixa, int index)
public static int pixaRemovePixAndSave(lept.PIXA pixa, int index, PointerPointer ppix, PointerPointer pbox)
public static int pixaRemovePixAndSave(lept.PIXA pixa, int index, lept.PIX ppix, lept.BOX pbox)
public static int pixaClear(lept.PIXA pixa)
public static int pixaaJoin(lept.PIXAA paad, lept.PIXAA paas, int istart, int iend)
public static lept.PIXAA pixaaCreate(int n)
public static lept.PIXAA pixaaCreateFromPixa(lept.PIXA pixa, int n, int type, int copyflag)
public static void pixaaDestroy(PointerPointer ppaa)
public static void pixaaDestroy(lept.PIXAA ppaa)
public static int pixaaAddPixa(lept.PIXAA paa, lept.PIXA pixa, int copyflag)
public static int pixaaExtendArray(lept.PIXAA paa)
public static int pixaaAddPix(lept.PIXAA paa, int index, lept.PIX pix, lept.BOX box, int copyflag)
public static int pixaaAddBox(lept.PIXAA paa, lept.BOX box, int copyflag)
public static int pixaaGetCount(lept.PIXAA paa, PointerPointer pna)
public static int pixaaGetCount(lept.PIXAA paa, lept.NUMA pna)
public static lept.PIXA pixaaGetPixa(lept.PIXAA paa, int index, int accesstype)
public static lept.BOXA pixaaGetBoxa(lept.PIXAA paa, int accesstype)
public static lept.PIX pixaaGetPix(lept.PIXAA paa, int index, int ipix, int accessflag)
public static int pixaaVerifyDepth(lept.PIXAA paa, IntPointer pmaxdepth)
public static int pixaaVerifyDepth(lept.PIXAA paa, IntBuffer pmaxdepth)
public static int pixaaVerifyDepth(lept.PIXAA paa, int[] pmaxdepth)
public static int pixaaIsFull(lept.PIXAA paa, IntPointer pfull)
public static int pixaaIsFull(lept.PIXAA paa, IntBuffer pfull)
public static int pixaaIsFull(lept.PIXAA paa, int[] pfull)
public static int pixaaInitFull(lept.PIXAA paa, lept.PIXA pixa)
public static int pixaaReplacePixa(lept.PIXAA paa, int index, lept.PIXA pixa)
public static int pixaaClear(lept.PIXAA paa)
public static int pixaaTruncate(lept.PIXAA paa)
public static lept.PIXA pixaRead(BytePointer filename)
public static int pixaWrite(BytePointer filename, lept.PIXA pixa)
public static lept.PIXAA pixaaReadFromFiles(BytePointer dirname, BytePointer substr, int first, int nfiles)
public static lept.PIXAA pixaaReadFromFiles(String dirname, String substr, int first, int nfiles)
public static lept.PIXAA pixaaRead(BytePointer filename)
public static lept.PIXAA pixaaRead(String filename)
public static lept.PIXAA pixaaReadStream(Pointer fp)
public static int pixaaWrite(BytePointer filename, lept.PIXAA paa)
public static int pixaaWrite(String filename, lept.PIXAA paa)
public static int pixaaWriteStream(Pointer fp, lept.PIXAA paa)
public static lept.PIXACC pixaccCreate(int w, int h, int negflag)
public static lept.PIXACC pixaccCreateFromPix(lept.PIX pix, int negflag)
public static void pixaccDestroy(PointerPointer ppixacc)
public static void pixaccDestroy(lept.PIXACC ppixacc)
public static lept.PIX pixaccFinal(lept.PIXACC pixacc, int outdepth)
public static lept.PIX pixaccGetPix(lept.PIXACC pixacc)
public static int pixaccGetOffset(lept.PIXACC pixacc)
public static int pixaccAdd(lept.PIXACC pixacc, lept.PIX pix)
public static int pixaccSubtract(lept.PIXACC pixacc, lept.PIX pix)
public static int pixaccMultConst(lept.PIXACC pixacc, float factor)
public static int pixaccMultConstAccumulate(lept.PIXACC pixacc, lept.PIX pix, float factor)
public static lept.PIX pixSelectBySize(lept.PIX pixs, int width, int height, int connectivity, int type, int relation, IntPointer pchanged)
public static lept.PIX pixSelectBySize(lept.PIX pixs, int width, int height, int connectivity, int type, int relation, IntBuffer pchanged)
public static lept.PIX pixSelectBySize(lept.PIX pixs, int width, int height, int connectivity, int type, int relation, int[] pchanged)
public static lept.PIXA pixaSelectBySize(lept.PIXA pixas, int width, int height, int type, int relation, IntPointer pchanged)
public static lept.PIXA pixaSelectBySize(lept.PIXA pixas, int width, int height, int type, int relation, IntBuffer pchanged)
public static lept.PIXA pixaSelectBySize(lept.PIXA pixas, int width, int height, int type, int relation, int[] pchanged)
public static lept.NUMA pixaMakeSizeIndicator(lept.PIXA pixa, int width, int height, int type, int relation)
public static lept.PIX pixSelectByPerimToAreaRatio(lept.PIX pixs, float thresh, int connectivity, int type, IntPointer pchanged)
public static lept.PIX pixSelectByPerimToAreaRatio(lept.PIX pixs, float thresh, int connectivity, int type, IntBuffer pchanged)
public static lept.PIX pixSelectByPerimToAreaRatio(lept.PIX pixs, float thresh, int connectivity, int type, int[] pchanged)
public static lept.PIXA pixaSelectByPerimToAreaRatio(lept.PIXA pixas, float thresh, int type, IntPointer pchanged)
public static lept.PIXA pixaSelectByPerimToAreaRatio(lept.PIXA pixas, float thresh, int type, IntBuffer pchanged)
public static lept.PIXA pixaSelectByPerimToAreaRatio(lept.PIXA pixas, float thresh, int type, int[] pchanged)
public static lept.PIX pixSelectByPerimSizeRatio(lept.PIX pixs, float thresh, int connectivity, int type, IntPointer pchanged)
public static lept.PIX pixSelectByPerimSizeRatio(lept.PIX pixs, float thresh, int connectivity, int type, IntBuffer pchanged)
public static lept.PIX pixSelectByPerimSizeRatio(lept.PIX pixs, float thresh, int connectivity, int type, int[] pchanged)
public static lept.PIXA pixaSelectByPerimSizeRatio(lept.PIXA pixas, float thresh, int type, IntPointer pchanged)
public static lept.PIXA pixaSelectByPerimSizeRatio(lept.PIXA pixas, float thresh, int type, IntBuffer pchanged)
public static lept.PIXA pixaSelectByPerimSizeRatio(lept.PIXA pixas, float thresh, int type, int[] pchanged)
public static lept.PIX pixSelectByAreaFraction(lept.PIX pixs, float thresh, int connectivity, int type, IntPointer pchanged)
public static lept.PIX pixSelectByAreaFraction(lept.PIX pixs, float thresh, int connectivity, int type, IntBuffer pchanged)
public static lept.PIX pixSelectByAreaFraction(lept.PIX pixs, float thresh, int connectivity, int type, int[] pchanged)
public static lept.PIXA pixaSelectByAreaFraction(lept.PIXA pixas, float thresh, int type, IntPointer pchanged)
public static lept.PIXA pixaSelectByAreaFraction(lept.PIXA pixas, float thresh, int type, IntBuffer pchanged)
public static lept.PIXA pixaSelectByAreaFraction(lept.PIXA pixas, float thresh, int type, int[] pchanged)
public static lept.PIX pixSelectByWidthHeightRatio(lept.PIX pixs, float thresh, int connectivity, int type, IntPointer pchanged)
public static lept.PIX pixSelectByWidthHeightRatio(lept.PIX pixs, float thresh, int connectivity, int type, IntBuffer pchanged)
public static lept.PIX pixSelectByWidthHeightRatio(lept.PIX pixs, float thresh, int connectivity, int type, int[] pchanged)
public static lept.PIXA pixaSelectByWidthHeightRatio(lept.PIXA pixas, float thresh, int type, IntPointer pchanged)
public static lept.PIXA pixaSelectByWidthHeightRatio(lept.PIXA pixas, float thresh, int type, IntBuffer pchanged)
public static lept.PIXA pixaSelectByWidthHeightRatio(lept.PIXA pixas, float thresh, int type, int[] pchanged)
public static lept.PIXA pixaSelectWithIndicator(lept.PIXA pixas, lept.NUMA na, IntPointer pchanged)
public static lept.PIXA pixaSelectWithIndicator(lept.PIXA pixas, lept.NUMA na, IntBuffer pchanged)
public static lept.PIXA pixaSelectWithIndicator(lept.PIXA pixas, lept.NUMA na, int[] pchanged)
public static int pixRemoveWithIndicator(lept.PIX pixs, lept.PIXA pixa, lept.NUMA na)
public static int pixAddWithIndicator(lept.PIX pixs, lept.PIXA pixa, lept.NUMA na)
public static lept.PIX pixaRenderComponent(lept.PIX pixs, lept.PIXA pixa, int index)
public static lept.PIXA pixaSort(lept.PIXA pixas, int sorttype, int sortorder, PointerPointer pnaindex, int copyflag)
public static lept.PIXA pixaSort(lept.PIXA pixas, int sorttype, int sortorder, lept.NUMA pnaindex, int copyflag)
public static lept.PIXA pixaBinSort(lept.PIXA pixas, int sorttype, int sortorder, PointerPointer pnaindex, int copyflag)
public static lept.PIXA pixaBinSort(lept.PIXA pixas, int sorttype, int sortorder, lept.NUMA pnaindex, int copyflag)
public static lept.PIXA pixaSortByIndex(lept.PIXA pixas, lept.NUMA naindex, int copyflag)
public static lept.PIXAA pixaSort2dByIndex(lept.PIXA pixas, lept.NUMAA naa, int copyflag)
public static lept.PIXA pixaSelectRange(lept.PIXA pixas, int first, int last, int copyflag)
public static lept.PIXAA pixaaSelectRange(lept.PIXAA paas, int first, int last, int copyflag)
public static lept.PIXAA pixaaScaleToSize(lept.PIXAA paas, int wd, int hd)
public static lept.PIXAA pixaaScaleToSizeVar(lept.PIXAA paas, lept.NUMA nawd, lept.NUMA nahd)
public static lept.PIXA pixaAddBorderGeneral(lept.PIXA pixad, lept.PIXA pixas, int left, int right, int top, int bot, int val)
public static lept.PIXA pixaaFlattenToPixa(lept.PIXAA paa, PointerPointer pnaindex, int copyflag)
public static lept.PIXA pixaaFlattenToPixa(lept.PIXAA paa, lept.NUMA pnaindex, int copyflag)
public static int pixaaSizeRange(lept.PIXAA paa, IntPointer pminw, IntPointer pminh, IntPointer pmaxw, IntPointer pmaxh)
public static int pixaaSizeRange(lept.PIXAA paa, IntBuffer pminw, IntBuffer pminh, IntBuffer pmaxw, IntBuffer pmaxh)
public static int pixaaSizeRange(lept.PIXAA paa, int[] pminw, int[] pminh, int[] pmaxw, int[] pmaxh)
public static int pixaSizeRange(lept.PIXA pixa, IntPointer pminw, IntPointer pminh, IntPointer pmaxw, IntPointer pmaxh)
public static int pixaSizeRange(lept.PIXA pixa, IntBuffer pminw, IntBuffer pminh, IntBuffer pmaxw, IntBuffer pmaxh)
public static int pixaSizeRange(lept.PIXA pixa, int[] pminw, int[] pminh, int[] pmaxw, int[] pmaxh)
public static int pixaGetRenderingDepth(lept.PIXA pixa, IntPointer pdepth)
public static int pixaGetRenderingDepth(lept.PIXA pixa, int[] pdepth)
public static int pixaHasColor(lept.PIXA pixa, IntPointer phascolor)
public static int pixaHasColor(lept.PIXA pixa, int[] phascolor)
public static int pixaAnyColormaps(lept.PIXA pixa, IntPointer phascmap)
public static int pixaAnyColormaps(lept.PIXA pixa, int[] phascmap)
public static int pixaGetDepthInfo(lept.PIXA pixa, IntPointer pmaxdepth, IntPointer psame)
public static int pixaGetDepthInfo(lept.PIXA pixa, IntBuffer pmaxdepth, IntBuffer psame)
public static int pixaGetDepthInfo(lept.PIXA pixa, int[] pmaxdepth, int[] psame)
public static int pixaEqual(lept.PIXA pixa1, lept.PIXA pixa2, int maxdist, PointerPointer pnaindex, IntPointer psame)
public static int pixaEqual(lept.PIXA pixa1, lept.PIXA pixa2, int maxdist, lept.NUMA pnaindex, IntPointer psame)
public static int pixaEqual(lept.PIXA pixa1, lept.PIXA pixa2, int maxdist, lept.NUMA pnaindex, IntBuffer psame)
public static int pixaEqual(lept.PIXA pixa1, lept.PIXA pixa2, int maxdist, lept.NUMA pnaindex, int[] psame)
public static lept.PIX pixaDisplayOnColor(lept.PIXA pixa, int w, int h, int bgcolor)
public static lept.PIX pixaDisplayLinearly(lept.PIXA pixas, int direction, float scalefactor, int background, int spacing, int border, PointerPointer pboxa)
public static lept.PIX pixaDisplayLinearly(lept.PIXA pixas, int direction, float scalefactor, int background, int spacing, int border, lept.BOXA pboxa)
public static lept.PIX pixaDisplayOnLattice(lept.PIXA pixa, int cellw, int cellh, IntPointer pncols, PointerPointer pboxa)
public static lept.PIX pixaDisplayOnLattice(lept.PIXA pixa, int cellw, int cellh, IntPointer pncols, lept.BOXA pboxa)
public static lept.PIX pixaDisplayOnLattice(lept.PIXA pixa, int cellw, int cellh, IntBuffer pncols, lept.BOXA pboxa)
public static lept.PIX pixaDisplayOnLattice(lept.PIXA pixa, int cellw, int cellh, int[] pncols, lept.BOXA pboxa)
public static lept.PIX pixaDisplayUnsplit(lept.PIXA pixa, int nx, int ny, int borderwidth, int bordercolor)
public static lept.PIX pixaDisplayTiled(lept.PIXA pixa, int maxwidth, int background, int spacing)
public static lept.PIX pixaDisplayTiledInRows(lept.PIXA pixa, int outdepth, int maxwidth, float scalefactor, int background, int spacing, int border)
public static lept.PIX pixaDisplayTiledAndScaled(lept.PIXA pixa, int outdepth, int tilewidth, int ncols, int background, int spacing, int border)
public static lept.PIX pixaaDisplay(lept.PIXAA paa, int w, int h)
public static lept.PIX pixaaDisplayByPixa(lept.PIXAA paa, int xspace, int yspace, int maxw)
public static lept.PIXA pixaaDisplayTiledAndScaled(lept.PIXAA paa, int outdepth, int tilewidth, int ncols, int background, int spacing, int border)
public static int convertToNUpFiles(BytePointer dir, BytePointer substr, int nx, int ny, int tw, int spacing, int border, BytePointer fontdir, BytePointer outdir)
public static int convertToNUpFiles(String dir, String substr, int nx, int ny, int tw, int spacing, int border, String fontdir, String outdir)
public static lept.PIXA convertToNUpPixa(BytePointer dir, BytePointer substr, int nx, int ny, int tw, int spacing, int border, BytePointer fontdir)
public static lept.PIXA convertToNUpPixa(String dir, String substr, int nx, int ny, int tw, int spacing, int border, String fontdir)
public static int pmsCreate(long minsize,
long smallest,
lept.NUMA numalloc,
BytePointer logfile)
public static int pmsCreate(long minsize,
long smallest,
lept.NUMA numalloc,
String logfile)
public static void pmsDestroy()
public static Pointer pmsCustomAlloc(long nbytes)
public static void pmsCustomDealloc(Pointer data)
public static Pointer pmsGetAlloc(long nbytes)
public static int pmsGetLevelForAlloc(long nbytes,
IntPointer plevel)
public static int pmsGetLevelForAlloc(long nbytes,
IntBuffer plevel)
public static int pmsGetLevelForAlloc(long nbytes,
int[] plevel)
public static int pmsGetLevelForDealloc(Pointer data, IntPointer plevel)
public static int pmsGetLevelForDealloc(Pointer data, int[] plevel)
public static void pmsLogInfo()
public static int pixAddConstantGray(lept.PIX pixs, int val)
public static int pixMultConstantGray(lept.PIX pixs, float val)
public static lept.PIX pixSubtractGray(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2)
public static lept.PIX pixThresholdToValue(lept.PIX pixd, lept.PIX pixs, int threshval, int setval)
public static lept.PIX pixInitAccumulate(int w, int h, int offset)
public static lept.PIX pixFinalAccumulateThreshold(lept.PIX pixs, int offset, int threshold)
public static int pixMultConstAccumulate(lept.PIX pixs, float factor, int offset)
public static lept.PIX pixMinOrMax(lept.PIX pixd, lept.PIX pixs1, lept.PIX pixs2, int type)
public static FloatPointer makeLogBase2Tab()
public static float getLogBase2(int val,
FloatPointer logtab)
public static float getLogBase2(int val,
FloatBuffer logtab)
public static float getLogBase2(int val,
float[] logtab)
public static lept.PIXC pixcompCreateFromString(BytePointer data, long size, int copyflag)
public static lept.PIXC pixcompCreateFromString(ByteBuffer data, long size, int copyflag)
public static lept.PIXC pixcompCreateFromString(byte[] data, long size, int copyflag)
public static lept.PIXC pixcompCreateFromFile(BytePointer filename, int comptype)
public static void pixcompDestroy(PointerPointer ppixc)
public static void pixcompDestroy(lept.PIXC ppixc)
public static int pixcompGetDimensions(lept.PIXC pixc, IntPointer pw, IntPointer ph, IntPointer pd)
public static int pixcompGetDimensions(lept.PIXC pixc, IntBuffer pw, IntBuffer ph, IntBuffer pd)
public static int pixcompGetDimensions(lept.PIXC pixc, int[] pw, int[] ph, int[] pd)
public static int pixcompDetermineFormat(int comptype,
int d,
int cmapflag,
IntPointer pformat)
public static int pixcompDetermineFormat(int comptype,
int d,
int cmapflag,
IntBuffer pformat)
public static int pixcompDetermineFormat(int comptype,
int d,
int cmapflag,
int[] pformat)
public static lept.PIXAC pixacompCreate(int n)
public static lept.PIXAC pixacompCreateWithInit(int n, int offset, lept.PIX pix, int comptype)
public static lept.PIXAC pixacompCreateFromPixa(lept.PIXA pixa, int comptype, int accesstype)
public static lept.PIXAC pixacompCreateFromFiles(BytePointer dirname, BytePointer substr, int comptype)
public static lept.PIXAC pixacompCreateFromFiles(String dirname, String substr, int comptype)
public static lept.PIXAC pixacompCreateFromSA(lept.SARRAY sa, int comptype)
public static void pixacompDestroy(PointerPointer ppixac)
public static void pixacompDestroy(lept.PIXAC ppixac)
public static int pixacompAddPix(lept.PIXAC pixac, lept.PIX pix, int comptype)
public static int pixacompAddPixcomp(lept.PIXAC pixac, lept.PIXC pixc)
public static int pixacompReplacePix(lept.PIXAC pixac, int index, lept.PIX pix, int comptype)
public static int pixacompReplacePixcomp(lept.PIXAC pixac, int index, lept.PIXC pixc)
public static int pixacompAddBox(lept.PIXAC pixac, lept.BOX box, int copyflag)
public static int pixacompGetCount(lept.PIXAC pixac)
public static lept.PIXC pixacompGetPixcomp(lept.PIXAC pixac, int index)
public static lept.PIX pixacompGetPix(lept.PIXAC pixac, int index)
public static int pixacompGetPixDimensions(lept.PIXAC pixac, int index, IntPointer pw, IntPointer ph, IntPointer pd)
public static int pixacompGetPixDimensions(lept.PIXAC pixac, int index, IntBuffer pw, IntBuffer ph, IntBuffer pd)
public static int pixacompGetPixDimensions(lept.PIXAC pixac, int index, int[] pw, int[] ph, int[] pd)
public static lept.BOXA pixacompGetBoxa(lept.PIXAC pixac, int accesstype)
public static int pixacompGetBoxaCount(lept.PIXAC pixac)
public static lept.BOX pixacompGetBox(lept.PIXAC pixac, int index, int accesstype)
public static int pixacompGetBoxGeometry(lept.PIXAC pixac, int index, IntPointer px, IntPointer py, IntPointer pw, IntPointer ph)
public static int pixacompGetBoxGeometry(lept.PIXAC pixac, int index, IntBuffer px, IntBuffer py, IntBuffer pw, IntBuffer ph)
public static int pixacompGetBoxGeometry(lept.PIXAC pixac, int index, int[] px, int[] py, int[] pw, int[] ph)
public static int pixacompGetOffset(lept.PIXAC pixac)
public static int pixacompSetOffset(lept.PIXAC pixac, int offset)
public static lept.PIXA pixaCreateFromPixacomp(lept.PIXAC pixac, int accesstype)
public static lept.PIXAC pixacompRead(BytePointer filename)
public static lept.PIXAC pixacompRead(String filename)
public static lept.PIXAC pixacompReadStream(Pointer fp)
public static int pixacompWrite(BytePointer filename, lept.PIXAC pixac)
public static int pixacompWrite(String filename, lept.PIXAC pixac)
public static int pixacompWriteStream(Pointer fp, lept.PIXAC pixac)
public static int pixacompConvertToPdf(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer fileout)
public static int pixacompConvertToPdf(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, String title, String fileout)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, BytePointer title, PointerPointer pdata, SizeTPointer pnbytes)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, BytePointer title, BytePointer pdata, SizeTPointer pnbytes)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, String title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, BytePointer title, byte[] pdata, SizeTPointer pnbytes)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, String title, BytePointer pdata, SizeTPointer pnbytes)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, BytePointer title, ByteBuffer pdata, SizeTPointer pnbytes)
public static int pixacompConvertToPdfData(lept.PIXAC pixac, int res, float scalefactor, int type, int quality, String title, byte[] pdata, SizeTPointer pnbytes)
public static int pixacompWriteStreamInfo(Pointer fp, lept.PIXAC pixac, BytePointer text)
public static int pixacompWriteStreamInfo(Pointer fp, lept.PIXAC pixac, String text)
public static int pixcompWriteStreamInfo(Pointer fp, lept.PIXC pixc, BytePointer text)
public static int pixcompWriteStreamInfo(Pointer fp, lept.PIXC pixc, String text)
public static lept.PIX pixacompDisplayTiledAndScaled(lept.PIXAC pixac, int outdepth, int tilewidth, int ncols, int background, int spacing, int border)
public static lept.PIX pixRemoveColormapGeneral(lept.PIX pixs, int type, int ifnocmap)
public static int pixAddGrayColormap8(lept.PIX pixs)
public static lept.PIX pixConvertRGBToGray(lept.PIX pixs, float rwt, float gwt, float bwt)
public static lept.PIX pixConvertRGBToGraySatBoost(lept.PIX pixs, int refval)
public static lept.PIX pixConvertGrayToColormap8(lept.PIX pixs, int mindepth)
public static lept.PIX pixConvertRGBToColormap(lept.PIX pixs, int ditherflag)
public static int pixQuantizeIfFewColors(lept.PIX pixs, int maxcolors, int mingraycolors, int octlevel, PointerPointer ppixd)
public static int pixQuantizeIfFewColors(lept.PIX pixs, int maxcolors, int mingraycolors, int octlevel, lept.PIX ppixd)
public static lept.PIX pixConvertGrayToFalseColor(lept.PIX pixs, float gamma)
public static lept.PIX pixConvert1To16(lept.PIX pixd, lept.PIX pixs, short val0, short val1)
public static lept.PIX pixConvert1To32(lept.PIX pixd, lept.PIX pixs, int val0, int val1)
public static lept.PIX pixConvert1To2(lept.PIX pixd, lept.PIX pixs, int val0, int val1)
public static lept.PIX pixConvert1To4(lept.PIX pixd, lept.PIX pixs, int val0, int val1)
public static lept.PIX pixConvert1To8(lept.PIX pixd, lept.PIX pixs, byte val0, byte val1)
public static lept.PIX pixConvert2To8(lept.PIX pixs, byte val0, byte val1, byte val2, byte val3, int cmapflag)
public static lept.PIX pixConvertTo1BySampling(lept.PIX pixs, int factor, int threshold)
public static lept.PIX pixConvertTo8BySampling(lept.PIX pixs, int factor, int cmapflag)
public static lept.PIX pixConvertTo8Or32(lept.PIX pixs, int copyflag, int warnflag)
public static lept.PIX pixConvertToSubpixelRGB(lept.PIX pixs, float scalex, float scaley, int order)
public static lept.PIX pixConvertGrayToSubpixelRGB(lept.PIX pixs, float scalex, float scaley, int order)
public static lept.PIX pixConvertColorToSubpixelRGB(lept.PIX pixs, float scalex, float scaley, int order)
public static lept.PIX pixConnCompTransform(lept.PIX pixs, int connect, int depth)
public static lept.PIX pixConnCompAreaTransform(lept.PIX pixs, int connect)
public static lept.PIXTILING pixTilingCreate(lept.PIX pixs, int nx, int ny, int w, int h, int xoverlap, int yoverlap)
public static void pixTilingDestroy(PointerPointer ppt)
public static void pixTilingDestroy(lept.PIXTILING ppt)
public static int pixTilingGetCount(lept.PIXTILING pt, IntPointer pnx, IntPointer pny)
public static int pixTilingGetCount(lept.PIXTILING pt, IntBuffer pnx, IntBuffer pny)
public static int pixTilingGetCount(lept.PIXTILING pt, int[] pnx, int[] pny)
public static int pixTilingGetSize(lept.PIXTILING pt, IntPointer pw, IntPointer ph)
public static int pixTilingGetSize(lept.PIXTILING pt, IntBuffer pw, IntBuffer ph)
public static int pixTilingGetSize(lept.PIXTILING pt, int[] pw, int[] ph)
public static lept.PIX pixTilingGetTile(lept.PIXTILING pt, int i, int j)
public static int pixTilingNoStripOnPaint(lept.PIXTILING pt)
public static int pixTilingPaintTile(lept.PIX pixd, int i, int j, lept.PIX pixs, lept.PIXTILING pt)
public static int readHeaderPng(BytePointer filename, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int readHeaderPng(String filename, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int readHeaderPng(BytePointer filename, int[] pw, int[] ph, int[] pbps, int[] pspp, int[] piscmap)
public static int readHeaderPng(String filename, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int readHeaderPng(BytePointer filename, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int readHeaderPng(String filename, int[] pw, int[] ph, int[] pbps, int[] pspp, int[] piscmap)
public static int freadHeaderPng(Pointer fp, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int freadHeaderPng(Pointer fp, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int freadHeaderPng(Pointer fp, int[] pw, int[] ph, int[] pbps, int[] pspp, int[] piscmap)
public static int readHeaderMemPng(BytePointer data, long size, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int readHeaderMemPng(ByteBuffer data, long size, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int readHeaderMemPng(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap)
public static int fgetPngResolution(Pointer fp, IntPointer pxres, IntPointer pyres)
public static int fgetPngResolution(Pointer fp, int[] pxres, int[] pyres)
public static int isPngInterlaced(BytePointer filename, IntPointer pinterlaced)
public static int isPngInterlaced(BytePointer filename, int[] pinterlaced)
public static int isPngInterlaced(String filename, IntPointer pinterlaced)
public static int isPngInterlaced(BytePointer filename, IntBuffer pinterlaced)
public static int isPngInterlaced(String filename, int[] pinterlaced)
public static int pixWritePng(BytePointer filename, lept.PIX pix, float gamma)
public static int pixSetZlibCompression(lept.PIX pix, int compval)
public static void l_pngSetReadStrip16To8(int flag)
public static lept.PIX pixReadMemPng(BytePointer cdata, long size)
public static lept.PIX pixReadMemPng(ByteBuffer cdata, long size)
public static lept.PIX pixReadMemPng(byte[] cdata, long size)
public static int pixWriteMemPng(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, float gamma)
public static int pixWriteMemPng(BytePointer pdata, SizeTPointer psize, lept.PIX pix, float gamma)
public static int pixWriteMemPng(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, float gamma)
public static int pixWriteMemPng(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
float gamma)
public static int readHeaderPnm(BytePointer filename, IntPointer pw, IntPointer ph, IntPointer pd, IntPointer ptype, IntPointer pbps, IntPointer pspp)
public static int readHeaderPnm(String filename, IntBuffer pw, IntBuffer ph, IntBuffer pd, IntBuffer ptype, IntBuffer pbps, IntBuffer pspp)
public static int readHeaderPnm(BytePointer filename, int[] pw, int[] ph, int[] pd, int[] ptype, int[] pbps, int[] pspp)
public static int readHeaderPnm(String filename, IntPointer pw, IntPointer ph, IntPointer pd, IntPointer ptype, IntPointer pbps, IntPointer pspp)
public static int readHeaderPnm(BytePointer filename, IntBuffer pw, IntBuffer ph, IntBuffer pd, IntBuffer ptype, IntBuffer pbps, IntBuffer pspp)
public static int readHeaderPnm(String filename, int[] pw, int[] ph, int[] pd, int[] ptype, int[] pbps, int[] pspp)
public static int freadHeaderPnm(Pointer fp, IntPointer pw, IntPointer ph, IntPointer pd, IntPointer ptype, IntPointer pbps, IntPointer pspp)
public static int freadHeaderPnm(Pointer fp, IntBuffer pw, IntBuffer ph, IntBuffer pd, IntBuffer ptype, IntBuffer pbps, IntBuffer pspp)
public static int freadHeaderPnm(Pointer fp, int[] pw, int[] ph, int[] pd, int[] ptype, int[] pbps, int[] pspp)
public static lept.PIX pixReadMemPnm(BytePointer cdata, long size)
public static lept.PIX pixReadMemPnm(ByteBuffer cdata, long size)
public static lept.PIX pixReadMemPnm(byte[] cdata, long size)
public static int readHeaderMemPnm(BytePointer cdata, long size, IntPointer pw, IntPointer ph, IntPointer pd, IntPointer ptype, IntPointer pbps, IntPointer pspp)
public static int readHeaderMemPnm(ByteBuffer cdata, long size, IntBuffer pw, IntBuffer ph, IntBuffer pd, IntBuffer ptype, IntBuffer pbps, IntBuffer pspp)
public static int readHeaderMemPnm(byte[] cdata,
long size,
int[] pw,
int[] ph,
int[] pd,
int[] ptype,
int[] pbps,
int[] pspp)
public static int pixWriteMemPnm(PointerPointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemPnm(BytePointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemPnm(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemPnm(byte[] pdata,
SizeTPointer psize,
lept.PIX pix)
public static lept.PIX pixProjectiveSampledPta(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int incolor)
public static lept.PIX pixProjectiveSampled(lept.PIX pixs, FloatPointer vc, int incolor)
public static lept.PIX pixProjectiveSampled(lept.PIX pixs, FloatBuffer vc, int incolor)
public static lept.PIX pixProjectiveSampled(lept.PIX pixs, float[] vc, int incolor)
public static lept.PIX pixProjectivePta(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int incolor)
public static lept.PIX pixProjective(lept.PIX pixs, FloatPointer vc, int incolor)
public static lept.PIX pixProjective(lept.PIX pixs, FloatBuffer vc, int incolor)
public static lept.PIX pixProjectivePtaColor(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, int colorval)
public static lept.PIX pixProjectiveColor(lept.PIX pixs, FloatPointer vc, int colorval)
public static lept.PIX pixProjectiveColor(lept.PIX pixs, FloatBuffer vc, int colorval)
public static lept.PIX pixProjectiveColor(lept.PIX pixs, float[] vc, int colorval)
public static lept.PIX pixProjectivePtaGray(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, byte grayval)
public static lept.PIX pixProjectiveGray(lept.PIX pixs, FloatPointer vc, byte grayval)
public static lept.PIX pixProjectiveGray(lept.PIX pixs, FloatBuffer vc, byte grayval)
public static lept.PIX pixProjectivePtaWithAlpha(lept.PIX pixs, lept.PTA ptad, lept.PTA ptas, lept.PIX pixg, float fract, int border)
public static int getProjectiveXformCoeffs(lept.PTA ptas, lept.PTA ptad, PointerPointer pvc)
public static int getProjectiveXformCoeffs(lept.PTA ptas, lept.PTA ptad, FloatPointer pvc)
public static int getProjectiveXformCoeffs(lept.PTA ptas, lept.PTA ptad, FloatBuffer pvc)
public static int getProjectiveXformCoeffs(lept.PTA ptas, lept.PTA ptad, float[] pvc)
public static int projectiveXformSampledPt(FloatPointer vc, int x, int y, IntPointer pxp, IntPointer pyp)
public static int projectiveXformSampledPt(FloatBuffer vc, int x, int y, IntBuffer pxp, IntBuffer pyp)
public static int projectiveXformSampledPt(float[] vc,
int x,
int y,
int[] pxp,
int[] pyp)
public static int projectiveXformPt(FloatPointer vc, int x, int y, FloatPointer pxp, FloatPointer pyp)
public static int projectiveXformPt(FloatBuffer vc, int x, int y, FloatBuffer pxp, FloatBuffer pyp)
public static int projectiveXformPt(float[] vc,
int x,
int y,
float[] pxp,
float[] pyp)
public static int convertFilesToPS(BytePointer dirin, BytePointer substr, int res, BytePointer fileout)
public static int convertFilesToPS(String dirin, String substr, int res, String fileout)
public static int sarrayConvertFilesToPS(lept.SARRAY sa, int res, BytePointer fileout)
public static int sarrayConvertFilesToPS(lept.SARRAY sa, int res, String fileout)
public static int convertFilesFittedToPS(BytePointer dirin, BytePointer substr, float xpts, float ypts, BytePointer fileout)
public static int convertFilesFittedToPS(String dirin, String substr, float xpts, float ypts, String fileout)
public static int sarrayConvertFilesFittedToPS(lept.SARRAY sa, float xpts, float ypts, BytePointer fileout)
public static int sarrayConvertFilesFittedToPS(lept.SARRAY sa, float xpts, float ypts, String fileout)
public static int writeImageCompressedToPSFile(BytePointer filein, BytePointer fileout, int res, IntPointer pfirstfile, IntPointer pindex)
public static int writeImageCompressedToPSFile(String filein, String fileout, int res, IntBuffer pfirstfile, IntBuffer pindex)
public static int writeImageCompressedToPSFile(BytePointer filein, BytePointer fileout, int res, int[] pfirstfile, int[] pindex)
public static int writeImageCompressedToPSFile(String filein, String fileout, int res, IntPointer pfirstfile, IntPointer pindex)
public static int writeImageCompressedToPSFile(BytePointer filein, BytePointer fileout, int res, IntBuffer pfirstfile, IntBuffer pindex)
public static int writeImageCompressedToPSFile(String filein, String fileout, int res, int[] pfirstfile, int[] pindex)
public static int convertSegmentedPagesToPS(BytePointer pagedir, BytePointer pagestr, int page_numpre, BytePointer maskdir, BytePointer maskstr, int mask_numpre, int numpost, int maxnum, float textscale, float imagescale, int threshold, BytePointer fileout)
public static int convertSegmentedPagesToPS(String pagedir, String pagestr, int page_numpre, String maskdir, String maskstr, int mask_numpre, int numpost, int maxnum, float textscale, float imagescale, int threshold, String fileout)
public static int pixWriteSegmentedPageToPS(lept.PIX pixs, lept.PIX pixm, float textscale, float imagescale, int threshold, int pageno, BytePointer fileout)
public static int pixWriteSegmentedPageToPS(lept.PIX pixs, lept.PIX pixm, float textscale, float imagescale, int threshold, int pageno, String fileout)
public static int pixWriteMixedToPS(lept.PIX pixb, lept.PIX pixc, float scale, int pageno, BytePointer fileout)
public static int pixWriteMixedToPS(lept.PIX pixb, lept.PIX pixc, float scale, int pageno, String fileout)
public static int convertToPSEmbed(BytePointer filein, BytePointer fileout, int level)
public static int pixaWriteCompressedToPS(lept.PIXA pixa, BytePointer fileout, int res, int level)
public static int pixaWriteCompressedToPS(lept.PIXA pixa, String fileout, int res, int level)
public static int pixWritePSEmbed(BytePointer filein, BytePointer fileout)
public static int pixWriteStreamPS(Pointer fp, lept.PIX pix, lept.BOX box, int res, float scale)
public static BytePointer pixWriteStringPS(lept.PIX pixs, lept.BOX box, int res, float scale)
public static BytePointer generateUncompressedPS(BytePointer hexdata, int w, int h, int d, int psbpl, int bps, float xpt, float ypt, float wpt, float hpt, int boxflag)
public static ByteBuffer generateUncompressedPS(ByteBuffer hexdata, int w, int h, int d, int psbpl, int bps, float xpt, float ypt, float wpt, float hpt, int boxflag)
public static byte[] generateUncompressedPS(byte[] hexdata,
int w,
int h,
int d,
int psbpl,
int bps,
float xpt,
float ypt,
float wpt,
float hpt,
int boxflag)
public static void getScaledParametersPS(lept.BOX box, int wpix, int hpix, int res, float scale, FloatPointer pxpt, FloatPointer pypt, FloatPointer pwpt, FloatPointer phpt)
public static void getScaledParametersPS(lept.BOX box, int wpix, int hpix, int res, float scale, FloatBuffer pxpt, FloatBuffer pypt, FloatBuffer pwpt, FloatBuffer phpt)
public static void getScaledParametersPS(lept.BOX box, int wpix, int hpix, int res, float scale, float[] pxpt, float[] pypt, float[] pwpt, float[] phpt)
public static void convertByteToHexAscii(byte byteval,
BytePointer pnib1,
BytePointer pnib2)
public static void convertByteToHexAscii(byte byteval,
ByteBuffer pnib1,
ByteBuffer pnib2)
public static void convertByteToHexAscii(byte byteval,
byte[] pnib1,
byte[] pnib2)
public static int convertJpegToPSEmbed(BytePointer filein, BytePointer fileout)
public static int convertJpegToPS(BytePointer filein, BytePointer fileout, BytePointer operation, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPS(String filein, String fileout, String operation, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(BytePointer filein, PointerPointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(BytePointer filein, BytePointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(String filein, ByteBuffer poutstr, IntBuffer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(BytePointer filein, byte[] poutstr, int[] pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(String filein, BytePointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(BytePointer filein, ByteBuffer poutstr, IntBuffer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertJpegToPSString(String filein, byte[] poutstr, int[] pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static BytePointer generateJpegPS(BytePointer filein, lept.L_COMP_DATA cid, float xpt, float ypt, float wpt, float hpt, int pageno, int endpage)
public static ByteBuffer generateJpegPS(String filein, lept.L_COMP_DATA cid, float xpt, float ypt, float wpt, float hpt, int pageno, int endpage)
public static int convertG4ToPSEmbed(BytePointer filein, BytePointer fileout)
public static int convertG4ToPS(BytePointer filein, BytePointer fileout, BytePointer operation, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPS(String filein, String fileout, String operation, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(BytePointer filein, PointerPointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(BytePointer filein, BytePointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(String filein, ByteBuffer poutstr, IntBuffer pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(BytePointer filein, byte[] poutstr, int[] pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(String filein, BytePointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(BytePointer filein, ByteBuffer poutstr, IntBuffer pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static int convertG4ToPSString(String filein, byte[] poutstr, int[] pnbytes, int x, int y, int res, float scale, int pageno, int maskflag, int endpage)
public static BytePointer generateG4PS(BytePointer filein, lept.L_COMP_DATA cid, float xpt, float ypt, float wpt, float hpt, int maskflag, int pageno, int endpage)
public static ByteBuffer generateG4PS(String filein, lept.L_COMP_DATA cid, float xpt, float ypt, float wpt, float hpt, int maskflag, int pageno, int endpage)
public static int convertTiffMultipageToPS(BytePointer filein, BytePointer fileout, BytePointer tempfile, float fillfract)
public static int convertTiffMultipageToPS(String filein, String fileout, String tempfile, float fillfract)
public static int convertFlateToPSEmbed(BytePointer filein, BytePointer fileout)
public static int convertFlateToPS(BytePointer filein, BytePointer fileout, BytePointer operation, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPS(String filein, String fileout, String operation, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(BytePointer filein, PointerPointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(BytePointer filein, BytePointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(String filein, ByteBuffer poutstr, IntBuffer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(BytePointer filein, byte[] poutstr, int[] pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(String filein, BytePointer poutstr, IntPointer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(BytePointer filein, ByteBuffer poutstr, IntBuffer pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static int convertFlateToPSString(String filein, byte[] poutstr, int[] pnbytes, int x, int y, int res, float scale, int pageno, int endpage)
public static BytePointer generateFlatePS(BytePointer filein, lept.L_COMP_DATA cid, float xpt, float ypt, float wpt, float hpt, int pageno, int endpage)
public static ByteBuffer generateFlatePS(String filein, lept.L_COMP_DATA cid, float xpt, float ypt, float wpt, float hpt, int pageno, int endpage)
public static int pixWriteMemPS(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, lept.BOX box, int res, float scale)
public static int pixWriteMemPS(BytePointer pdata, SizeTPointer psize, lept.PIX pix, lept.BOX box, int res, float scale)
public static int pixWriteMemPS(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, lept.BOX box, int res, float scale)
public static int pixWriteMemPS(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
lept.BOX box,
int res,
float scale)
public static int getResLetterPage(int w,
int h,
float fillfract)
public static int getResA4Page(int w,
int h,
float fillfract)
public static BytePointer encodeAscii85(BytePointer inarray, int insize, IntPointer poutsize)
public static ByteBuffer encodeAscii85(ByteBuffer inarray, int insize, IntBuffer poutsize)
public static byte[] encodeAscii85(byte[] inarray,
int insize,
int[] poutsize)
public static BytePointer decodeAscii85(BytePointer ina, int insize, IntPointer poutsize)
public static ByteBuffer decodeAscii85(ByteBuffer ina, int insize, IntBuffer poutsize)
public static byte[] decodeAscii85(byte[] ina,
int insize,
int[] poutsize)
public static void l_psWriteBoundingBox(int flag)
public static lept.PTA ptaCreate(int n)
public static void ptaDestroy(PointerPointer ppta)
public static void ptaDestroy(lept.PTA ppta)
public static int ptaEmpty(lept.PTA pta)
public static int ptaAddPt(lept.PTA pta, float x, float y)
public static int ptaInsertPt(lept.PTA pta, int index, int x, int y)
public static int ptaRemovePt(lept.PTA pta, int index)
public static int ptaGetRefcount(lept.PTA pta)
public static int ptaChangeRefcount(lept.PTA pta, int delta)
public static int ptaGetCount(lept.PTA pta)
public static int ptaGetPt(lept.PTA pta, int index, FloatPointer px, FloatPointer py)
public static int ptaGetPt(lept.PTA pta, int index, FloatBuffer px, FloatBuffer py)
public static int ptaGetPt(lept.PTA pta, int index, float[] px, float[] py)
public static int ptaGetIPt(lept.PTA pta, int index, IntPointer px, IntPointer py)
public static int ptaGetIPt(lept.PTA pta, int index, int[] px, int[] py)
public static int ptaSetPt(lept.PTA pta, int index, float x, float y)
public static int ptaGetArrays(lept.PTA pta, PointerPointer pnax, PointerPointer pnay)
public static lept.PTA ptaRead(BytePointer filename)
public static int ptaWrite(BytePointer filename, lept.PTA pta, int type)
public static lept.PTAA ptaaCreate(int n)
public static void ptaaDestroy(PointerPointer pptaa)
public static void ptaaDestroy(lept.PTAA pptaa)
public static int ptaaGetCount(lept.PTAA ptaa)
public static int ptaaGetPt(lept.PTAA ptaa, int ipta, int jpt, FloatPointer px, FloatPointer py)
public static int ptaaGetPt(lept.PTAA ptaa, int ipta, int jpt, FloatBuffer px, FloatBuffer py)
public static int ptaaGetPt(lept.PTAA ptaa, int ipta, int jpt, float[] px, float[] py)
public static int ptaaAddPt(lept.PTAA ptaa, int ipta, float x, float y)
public static int ptaaTruncate(lept.PTAA ptaa)
public static lept.PTAA ptaaRead(BytePointer filename)
public static int ptaaWrite(BytePointer filename, lept.PTAA ptaa, int type)
public static lept.PTA ptaSort(lept.PTA ptas, int sorttype, int sortorder, PointerPointer pnaindex)
public static lept.PTA ptaSort(lept.PTA ptas, int sorttype, int sortorder, lept.NUMA pnaindex)
public static int ptaGetSortIndex(lept.PTA ptas, int sorttype, int sortorder, PointerPointer pnaindex)
public static int ptaGetSortIndex(lept.PTA ptas, int sorttype, int sortorder, lept.NUMA pnaindex)
public static int ptaGetRange(lept.PTA pta, FloatPointer pminx, FloatPointer pmaxx, FloatPointer pminy, FloatPointer pmaxy)
public static int ptaGetRange(lept.PTA pta, FloatBuffer pminx, FloatBuffer pmaxx, FloatBuffer pminy, FloatBuffer pmaxy)
public static int ptaGetRange(lept.PTA pta, float[] pminx, float[] pmaxx, float[] pminy, float[] pmaxy)
public static int ptaContainsPt(lept.PTA pta, int x, int y)
public static lept.PTA ptaTransform(lept.PTA ptas, int shiftx, int shifty, float scalex, float scaley)
public static int ptaPtInsidePolygon(lept.PTA pta, float x, float y, IntPointer pinside)
public static int ptaPtInsidePolygon(lept.PTA pta, float x, float y, IntBuffer pinside)
public static int ptaPtInsidePolygon(lept.PTA pta, float x, float y, int[] pinside)
public static float l_angleBetweenVectors(float x1,
float y1,
float x2,
float y2)
public static int ptaGetLinearLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, PointerPointer pnafit)
public static int ptaGetLinearLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, lept.NUMA pnafit)
public static int ptaGetLinearLSF(lept.PTA pta, FloatBuffer pa, FloatBuffer pb, lept.NUMA pnafit)
public static int ptaGetLinearLSF(lept.PTA pta, float[] pa, float[] pb, lept.NUMA pnafit)
public static int ptaGetQuadraticLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, FloatPointer pc, PointerPointer pnafit)
public static int ptaGetQuadraticLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, FloatPointer pc, lept.NUMA pnafit)
public static int ptaGetQuadraticLSF(lept.PTA pta, FloatBuffer pa, FloatBuffer pb, FloatBuffer pc, lept.NUMA pnafit)
public static int ptaGetQuadraticLSF(lept.PTA pta, float[] pa, float[] pb, float[] pc, lept.NUMA pnafit)
public static int ptaGetCubicLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, FloatPointer pc, FloatPointer pd, PointerPointer pnafit)
public static int ptaGetCubicLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, FloatPointer pc, FloatPointer pd, lept.NUMA pnafit)
public static int ptaGetCubicLSF(lept.PTA pta, FloatBuffer pa, FloatBuffer pb, FloatBuffer pc, FloatBuffer pd, lept.NUMA pnafit)
public static int ptaGetCubicLSF(lept.PTA pta, float[] pa, float[] pb, float[] pc, float[] pd, lept.NUMA pnafit)
public static int ptaGetQuarticLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, FloatPointer pc, FloatPointer pd, FloatPointer pe, PointerPointer pnafit)
public static int ptaGetQuarticLSF(lept.PTA pta, FloatPointer pa, FloatPointer pb, FloatPointer pc, FloatPointer pd, FloatPointer pe, lept.NUMA pnafit)
public static int ptaGetQuarticLSF(lept.PTA pta, FloatBuffer pa, FloatBuffer pb, FloatBuffer pc, FloatBuffer pd, FloatBuffer pe, lept.NUMA pnafit)
public static int ptaGetQuarticLSF(lept.PTA pta, float[] pa, float[] pb, float[] pc, float[] pd, float[] pe, lept.NUMA pnafit)
public static int ptaNoisyLinearLSF(lept.PTA pta, float factor, PointerPointer pptad, FloatPointer pa, FloatPointer pb, FloatPointer pmederr, PointerPointer pnafit)
public static int ptaNoisyLinearLSF(lept.PTA pta, float factor, lept.PTA pptad, FloatPointer pa, FloatPointer pb, FloatPointer pmederr, lept.NUMA pnafit)
public static int ptaNoisyLinearLSF(lept.PTA pta, float factor, lept.PTA pptad, FloatBuffer pa, FloatBuffer pb, FloatBuffer pmederr, lept.NUMA pnafit)
public static int ptaNoisyLinearLSF(lept.PTA pta, float factor, lept.PTA pptad, float[] pa, float[] pb, float[] pmederr, lept.NUMA pnafit)
public static int ptaNoisyQuadraticLSF(lept.PTA pta, float factor, PointerPointer pptad, FloatPointer pa, FloatPointer pb, FloatPointer pc, FloatPointer pmederr, PointerPointer pnafit)
public static int ptaNoisyQuadraticLSF(lept.PTA pta, float factor, lept.PTA pptad, FloatPointer pa, FloatPointer pb, FloatPointer pc, FloatPointer pmederr, lept.NUMA pnafit)
public static int ptaNoisyQuadraticLSF(lept.PTA pta, float factor, lept.PTA pptad, FloatBuffer pa, FloatBuffer pb, FloatBuffer pc, FloatBuffer pmederr, lept.NUMA pnafit)
public static int ptaNoisyQuadraticLSF(lept.PTA pta, float factor, lept.PTA pptad, float[] pa, float[] pb, float[] pc, float[] pmederr, lept.NUMA pnafit)
public static int applyLinearFit(float a,
float b,
float x,
FloatPointer py)
public static int applyLinearFit(float a,
float b,
float x,
FloatBuffer py)
public static int applyLinearFit(float a,
float b,
float x,
float[] py)
public static int applyQuadraticFit(float a,
float b,
float c,
float x,
FloatPointer py)
public static int applyQuadraticFit(float a,
float b,
float c,
float x,
FloatBuffer py)
public static int applyQuadraticFit(float a,
float b,
float c,
float x,
float[] py)
public static int applyCubicFit(float a,
float b,
float c,
float d,
float x,
FloatPointer py)
public static int applyCubicFit(float a,
float b,
float c,
float d,
float x,
FloatBuffer py)
public static int applyCubicFit(float a,
float b,
float c,
float d,
float x,
float[] py)
public static int applyQuarticFit(float a,
float b,
float c,
float d,
float e,
float x,
FloatPointer py)
public static int applyQuarticFit(float a,
float b,
float c,
float d,
float e,
float x,
FloatBuffer py)
public static int applyQuarticFit(float a,
float b,
float c,
float d,
float e,
float x,
float[] py)
public static int pixPlotAlongPta(lept.PIX pixs, lept.PTA pta, int outformat, BytePointer title)
public static int pixPlotAlongPta(lept.PIX pixs, lept.PTA pta, int outformat, String title)
public static lept.PTAA ptaaGetBoundaryPixels(lept.PIX pixs, int type, int connectivity, PointerPointer pboxa, PointerPointer ppixa)
public static lept.PTAA ptaaGetBoundaryPixels(lept.PIX pixs, int type, int connectivity, lept.BOXA pboxa, lept.PIXA ppixa)
public static lept.PIX pixDisplayPtaaPattern(lept.PIX pixd, lept.PIX pixs, lept.PTAA ptaa, lept.PIX pixp, int cx, int cy)
public static lept.PIX pixDisplayPtaPattern(lept.PIX pixd, lept.PIX pixs, lept.PTA pta, lept.PIX pixp, int cx, int cy, int color)
public static lept.PTA ptaReplicatePattern(lept.PTA ptas, lept.PIX pixp, lept.PTA ptap, int cx, int cy, int w, int h)
public static lept.L_PTRA ptraCreate(int n)
public static void ptraDestroy(PointerPointer ppa, int freeflag, int warnflag)
public static void ptraDestroy(lept.L_PTRA ppa, int freeflag, int warnflag)
public static int ptraAdd(lept.L_PTRA pa, Pointer item)
public static int ptraInsert(lept.L_PTRA pa, int index, Pointer item, int shiftflag)
public static Pointer ptraRemove(lept.L_PTRA pa, int index, int flag)
public static Pointer ptraRemoveLast(lept.L_PTRA pa)
public static Pointer ptraReplace(lept.L_PTRA pa, int index, Pointer item, int freeflag)
public static int ptraSwap(lept.L_PTRA pa, int index1, int index2)
public static int ptraCompactArray(lept.L_PTRA pa)
public static int ptraReverse(lept.L_PTRA pa)
public static int ptraJoin(lept.L_PTRA pa1, lept.L_PTRA pa2)
public static int ptraGetMaxIndex(lept.L_PTRA pa, IntPointer pmaxindex)
public static int ptraGetMaxIndex(lept.L_PTRA pa, IntBuffer pmaxindex)
public static int ptraGetMaxIndex(lept.L_PTRA pa, int[] pmaxindex)
public static int ptraGetActualCount(lept.L_PTRA pa, IntPointer pcount)
public static int ptraGetActualCount(lept.L_PTRA pa, IntBuffer pcount)
public static int ptraGetActualCount(lept.L_PTRA pa, int[] pcount)
public static Pointer ptraGetPtrToItem(lept.L_PTRA pa, int index)
public static lept.L_PTRAA ptraaCreate(int n)
public static void ptraaDestroy(PointerPointer ppaa, int freeflag, int warnflag)
public static void ptraaDestroy(lept.L_PTRAA ppaa, int freeflag, int warnflag)
public static int ptraaGetSize(lept.L_PTRAA paa, IntPointer psize)
public static int ptraaGetSize(lept.L_PTRAA paa, IntBuffer psize)
public static int ptraaGetSize(lept.L_PTRAA paa, int[] psize)
public static int ptraaInsertPtra(lept.L_PTRAA paa, int index, lept.L_PTRA pa)
public static lept.L_PTRA ptraaGetPtra(lept.L_PTRAA paa, int index, int accessflag)
public static lept.L_PTRA ptraaFlattenToPtra(lept.L_PTRAA paa)
public static int pixQuadtreeMean(lept.PIX pixs, int nlevels, lept.PIX pix_ma, PointerPointer pfpixa)
public static int pixQuadtreeMean(lept.PIX pixs, int nlevels, lept.PIX pix_ma, lept.FPIXA pfpixa)
public static int pixQuadtreeVariance(lept.PIX pixs, int nlevels, lept.PIX pix_ma, lept.DPIX dpix_msa, PointerPointer pfpixa_v, PointerPointer pfpixa_rv)
public static int pixQuadtreeVariance(lept.PIX pixs, int nlevels, lept.PIX pix_ma, lept.DPIX dpix_msa, lept.FPIXA pfpixa_v, lept.FPIXA pfpixa_rv)
public static int pixMeanInRectangle(lept.PIX pixs, lept.BOX box, lept.PIX pixma, FloatPointer pval)
public static int pixMeanInRectangle(lept.PIX pixs, lept.BOX box, lept.PIX pixma, FloatBuffer pval)
public static int pixMeanInRectangle(lept.PIX pixs, lept.BOX box, lept.PIX pixma, float[] pval)
public static int pixVarianceInRectangle(lept.PIX pixs, lept.BOX box, lept.PIX pix_ma, lept.DPIX dpix_msa, FloatPointer pvar, FloatPointer prvar)
public static int pixVarianceInRectangle(lept.PIX pixs, lept.BOX box, lept.PIX pix_ma, lept.DPIX dpix_msa, FloatBuffer pvar, FloatBuffer prvar)
public static int pixVarianceInRectangle(lept.PIX pixs, lept.BOX box, lept.PIX pix_ma, lept.DPIX dpix_msa, float[] pvar, float[] prvar)
public static lept.BOXAA boxaaQuadtreeRegions(int w, int h, int nlevels)
public static int quadtreeGetParent(lept.FPIXA fpixa, int level, int x, int y, FloatPointer pval)
public static int quadtreeGetParent(lept.FPIXA fpixa, int level, int x, int y, FloatBuffer pval)
public static int quadtreeGetParent(lept.FPIXA fpixa, int level, int x, int y, float[] pval)
public static int quadtreeGetChildren(lept.FPIXA fpixa, int level, int x, int y, FloatPointer pval00, FloatPointer pval10, FloatPointer pval01, FloatPointer pval11)
public static int quadtreeGetChildren(lept.FPIXA fpixa, int level, int x, int y, FloatBuffer pval00, FloatBuffer pval10, FloatBuffer pval01, FloatBuffer pval11)
public static int quadtreeGetChildren(lept.FPIXA fpixa, int level, int x, int y, float[] pval00, float[] pval10, float[] pval01, float[] pval11)
public static int quadtreeMaxLevels(int w,
int h)
public static lept.PIX fpixaDisplayQuadtree(lept.FPIXA fpixa, int factor, BytePointer fontdir)
public static lept.PIX fpixaDisplayQuadtree(lept.FPIXA fpixa, int factor, String fontdir)
public static lept.L_QUEUE lqueueCreate(int nalloc)
public static void lqueueDestroy(PointerPointer plq, int freeflag)
public static void lqueueDestroy(lept.L_QUEUE plq, int freeflag)
public static int lqueueAdd(lept.L_QUEUE lq, Pointer item)
public static Pointer lqueueRemove(lept.L_QUEUE lq)
public static int lqueueGetCount(lept.L_QUEUE lq)
public static int lqueuePrint(Pointer fp, lept.L_QUEUE lq)
public static lept.PIX pixRankFilterGray(lept.PIX pixs, int wf, int hf, float rank)
public static lept.PIX pixRankFilterWithScaling(lept.PIX pixs, int wf, int hf, float rank, float scalefactor)
public static lept.SARRAY pixProcessBarcodes(lept.PIX pixs, int format, int method, PointerPointer psaw, int debugflag)
public static lept.SARRAY pixProcessBarcodes(lept.PIX pixs, int format, int method, lept.SARRAY psaw, int debugflag)
public static lept.SARRAY pixReadBarcodes(lept.PIXA pixa, int format, int method, PointerPointer psaw, int debugflag)
public static lept.SARRAY pixReadBarcodes(lept.PIXA pixa, int format, int method, lept.SARRAY psaw, int debugflag)
public static lept.NUMA pixReadBarcodeWidths(lept.PIX pixs, int method, int debugflag)
public static lept.BOXA pixLocateBarcodes(lept.PIX pixs, int thresh, PointerPointer ppixb, PointerPointer ppixm)
public static lept.BOXA pixLocateBarcodes(lept.PIX pixs, int thresh, lept.PIX ppixb, lept.PIX ppixm)
public static lept.PIX pixDeskewBarcode(lept.PIX pixs, lept.PIX pixb, lept.BOX box, int margin, int threshold, FloatPointer pangle, FloatPointer pconf)
public static lept.PIX pixDeskewBarcode(lept.PIX pixs, lept.PIX pixb, lept.BOX box, int margin, int threshold, FloatBuffer pangle, FloatBuffer pconf)
public static lept.PIX pixDeskewBarcode(lept.PIX pixs, lept.PIX pixb, lept.BOX box, int margin, int threshold, float[] pangle, float[] pconf)
public static lept.NUMA pixExtractBarcodeWidths1(lept.PIX pixs, float thresh, float binfract, PointerPointer pnaehist, PointerPointer pnaohist, int debugflag)
public static lept.NUMA pixExtractBarcodeWidths1(lept.PIX pixs, float thresh, float binfract, lept.NUMA pnaehist, lept.NUMA pnaohist, int debugflag)
public static lept.NUMA pixExtractBarcodeWidths2(lept.PIX pixs, float thresh, FloatPointer pwidth, PointerPointer pnac, int debugflag)
public static lept.NUMA pixExtractBarcodeWidths2(lept.PIX pixs, float thresh, FloatPointer pwidth, lept.NUMA pnac, int debugflag)
public static lept.NUMA pixExtractBarcodeWidths2(lept.PIX pixs, float thresh, FloatBuffer pwidth, lept.NUMA pnac, int debugflag)
public static lept.NUMA pixExtractBarcodeWidths2(lept.PIX pixs, float thresh, float[] pwidth, lept.NUMA pnac, int debugflag)
public static lept.NUMA pixExtractBarcodeCrossings(lept.PIX pixs, float thresh, int debugflag)
public static lept.NUMA numaQuantizeCrossingsByWidth(lept.NUMA nas, float binfract, PointerPointer pnaehist, PointerPointer pnaohist, int debugflag)
public static lept.NUMA numaQuantizeCrossingsByWidth(lept.NUMA nas, float binfract, lept.NUMA pnaehist, lept.NUMA pnaohist, int debugflag)
public static lept.NUMA numaQuantizeCrossingsByWindow(lept.NUMA nas, float ratio, FloatPointer pwidth, FloatPointer pfirstloc, PointerPointer pnac, int debugflag)
public static lept.NUMA numaQuantizeCrossingsByWindow(lept.NUMA nas, float ratio, FloatPointer pwidth, FloatPointer pfirstloc, lept.NUMA pnac, int debugflag)
public static lept.NUMA numaQuantizeCrossingsByWindow(lept.NUMA nas, float ratio, FloatBuffer pwidth, FloatBuffer pfirstloc, lept.NUMA pnac, int debugflag)
public static lept.NUMA numaQuantizeCrossingsByWindow(lept.NUMA nas, float ratio, float[] pwidth, float[] pfirstloc, lept.NUMA pnac, int debugflag)
public static lept.PIXA pixaReadFiles(BytePointer dirname, BytePointer substr)
public static lept.PIXA pixaReadFilesSA(lept.SARRAY sa)
public static lept.PIX pixRead(BytePointer filename)
public static lept.PIX pixReadWithHint(BytePointer filename, int hint)
public static lept.PIX pixReadIndexed(lept.SARRAY sa, int index)
public static int pixReadHeader(BytePointer filename, IntPointer pformat, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int pixReadHeader(String filename, IntBuffer pformat, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int pixReadHeader(BytePointer filename, int[] pformat, int[] pw, int[] ph, int[] pbps, int[] pspp, int[] piscmap)
public static int pixReadHeader(String filename, IntPointer pformat, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int pixReadHeader(BytePointer filename, IntBuffer pformat, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int pixReadHeader(String filename, int[] pformat, int[] pw, int[] ph, int[] pbps, int[] pspp, int[] piscmap)
public static int findFileFormat(BytePointer filename, IntPointer pformat)
public static int findFileFormat(BytePointer filename, int[] pformat)
public static int findFileFormat(String filename, IntPointer pformat)
public static int findFileFormat(BytePointer filename, IntBuffer pformat)
public static int findFileFormat(String filename, int[] pformat)
public static int findFileFormatStream(Pointer fp, IntPointer pformat)
public static int findFileFormatStream(Pointer fp, int[] pformat)
public static int findFileFormatBuffer(BytePointer buf, IntPointer pformat)
public static int findFileFormatBuffer(ByteBuffer buf, IntBuffer pformat)
public static int findFileFormatBuffer(byte[] buf,
int[] pformat)
public static int fileFormatIsTiff(Pointer fp)
public static lept.PIX pixReadMem(BytePointer data, long size)
public static lept.PIX pixReadMem(ByteBuffer data, long size)
public static lept.PIX pixReadMem(byte[] data, long size)
public static int pixReadHeaderMem(BytePointer data, long size, IntPointer pformat, IntPointer pw, IntPointer ph, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int pixReadHeaderMem(ByteBuffer data, long size, IntBuffer pformat, IntBuffer pw, IntBuffer ph, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int pixReadHeaderMem(byte[] data,
long size,
int[] pformat,
int[] pw,
int[] ph,
int[] pbps,
int[] pspp,
int[] piscmap)
public static int ioFormatTest(BytePointer filename)
public static int ioFormatTest(String filename)
public static lept.L_RECOGA recogaCreateFromRecog(lept.L_RECOG recog)
public static lept.L_RECOGA recogaCreateFromPixaa(lept.PIXAA paa, int scalew, int scaleh, int templ_type, int threshold, int maxyshift, BytePointer fontdir)
public static lept.L_RECOGA recogaCreateFromPixaa(lept.PIXAA paa, int scalew, int scaleh, int templ_type, int threshold, int maxyshift, String fontdir)
public static lept.L_RECOGA recogaCreate(int n)
public static void recogaDestroy(PointerPointer precoga)
public static void recogaDestroy(lept.L_RECOGA precoga)
public static int recogaAddRecog(lept.L_RECOGA recoga, lept.L_RECOG recog)
public static int recogReplaceInRecoga(PointerPointer precog1, lept.L_RECOG recog2)
public static int recogReplaceInRecoga(lept.L_RECOG precog1, lept.L_RECOG recog2)
public static lept.L_RECOG recogaGetRecog(lept.L_RECOGA recoga, int index)
public static int recogaGetCount(lept.L_RECOGA recoga)
public static int recogGetCount(lept.L_RECOG recog)
public static int recogGetIndex(lept.L_RECOG recog, IntPointer pindex)
public static int recogGetIndex(lept.L_RECOG recog, IntBuffer pindex)
public static int recogGetIndex(lept.L_RECOG recog, int[] pindex)
public static lept.L_RECOGA recogGetParent(lept.L_RECOG recog)
public static int recogSetBootflag(lept.L_RECOG recog)
public static lept.L_RECOG recogCreateFromRecog(lept.L_RECOG recs, int scalew, int scaleh, int templ_type, int threshold, int maxyshift, BytePointer fontdir)
public static lept.L_RECOG recogCreateFromRecog(lept.L_RECOG recs, int scalew, int scaleh, int templ_type, int threshold, int maxyshift, String fontdir)
public static lept.L_RECOG recogCreateFromPixa(lept.PIXA pixa, int scalew, int scaleh, int templ_type, int threshold, int maxyshift, BytePointer fontdir)
public static lept.L_RECOG recogCreateFromPixa(lept.PIXA pixa, int scalew, int scaleh, int templ_type, int threshold, int maxyshift, String fontdir)
public static lept.L_RECOG recogCreate(int scalew, int scaleh, int templ_type, int threshold, int maxyshift, BytePointer fontdir)
public static lept.L_RECOG recogCreate(int scalew, int scaleh, int templ_type, int threshold, int maxyshift, String fontdir)
public static void recogDestroy(PointerPointer precog)
public static void recogDestroy(lept.L_RECOG precog)
public static int recogAppend(lept.L_RECOG recog1, lept.L_RECOG recog2)
public static int recogGetClassIndex(lept.L_RECOG recog, int val, BytePointer text, IntPointer pindex)
public static int recogGetClassIndex(lept.L_RECOG recog, int val, ByteBuffer text, IntBuffer pindex)
public static int recogGetClassIndex(lept.L_RECOG recog, int val, byte[] text, int[] pindex)
public static int recogStringToIndex(lept.L_RECOG recog, BytePointer text, IntPointer pindex)
public static int recogStringToIndex(lept.L_RECOG recog, ByteBuffer text, IntBuffer pindex)
public static int recogStringToIndex(lept.L_RECOG recog, byte[] text, int[] pindex)
public static int recogGetClassString(lept.L_RECOG recog, int index, PointerPointer pcharstr)
public static int recogGetClassString(lept.L_RECOG recog, int index, BytePointer pcharstr)
public static int recogGetClassString(lept.L_RECOG recog, int index, ByteBuffer pcharstr)
public static int recogGetClassString(lept.L_RECOG recog, int index, byte[] pcharstr)
public static int l_convertCharstrToInt(BytePointer str, IntPointer pval)
public static int l_convertCharstrToInt(BytePointer str, int[] pval)
public static int l_convertCharstrToInt(String str, IntPointer pval)
public static int l_convertCharstrToInt(BytePointer str, IntBuffer pval)
public static int l_convertCharstrToInt(String str, int[] pval)
public static lept.L_RECOGA recogaRead(BytePointer filename)
public static lept.L_RECOGA recogaRead(String filename)
public static lept.L_RECOGA recogaReadStream(Pointer fp)
public static int recogaWrite(BytePointer filename, lept.L_RECOGA recoga)
public static int recogaWrite(String filename, lept.L_RECOGA recoga)
public static int recogaWriteStream(Pointer fp, lept.L_RECOGA recoga, BytePointer filename)
public static int recogaWriteStream(Pointer fp, lept.L_RECOGA recoga, String filename)
public static int recogaWritePixaa(BytePointer filename, lept.L_RECOGA recoga)
public static int recogaWritePixaa(String filename, lept.L_RECOGA recoga)
public static lept.L_RECOG recogRead(BytePointer filename)
public static lept.L_RECOG recogRead(String filename)
public static lept.L_RECOG recogReadStream(Pointer fp)
public static int recogWrite(BytePointer filename, lept.L_RECOG recog)
public static int recogWrite(String filename, lept.L_RECOG recog)
public static int recogWriteStream(Pointer fp, lept.L_RECOG recog, BytePointer filename)
public static int recogWriteStream(Pointer fp, lept.L_RECOG recog, String filename)
public static int recogWritePixa(BytePointer filename, lept.L_RECOG recog)
public static int recogWritePixa(String filename, lept.L_RECOG recog)
public static int recogDecode(lept.L_RECOG recog, lept.PIX pixs, int nlevels, PointerPointer ppixdb)
public static int recogDecode(lept.L_RECOG recog, lept.PIX pixs, int nlevels, lept.PIX ppixdb)
public static int recogMakeDecodingArrays(lept.L_RECOG recog, lept.PIX pixs, int debug)
public static int recogRunViterbi(lept.L_RECOG recog, PointerPointer ppixdb)
public static int recogRunViterbi(lept.L_RECOG recog, lept.PIX ppixdb)
public static int recogCreateDid(lept.L_RECOG recog, lept.PIX pixs)
public static int recogDestroyDid(lept.L_RECOG recog)
public static int recogDidExists(lept.L_RECOG recog)
public static lept.L_RDID recogGetDid(lept.L_RECOG recog)
public static int recogSetChannelParams(lept.L_RECOG recog, int nlevels)
public static int recogaIdentifyMultiple(lept.L_RECOGA recoga, lept.PIX pixs, int nitems, int minw, int minh, PointerPointer pboxa, PointerPointer ppixa, PointerPointer ppixdb, int debugsplit)
public static int recogaIdentifyMultiple(lept.L_RECOGA recoga, lept.PIX pixs, int nitems, int minw, int minh, lept.BOXA pboxa, lept.PIXA ppixa, lept.PIX ppixdb, int debugsplit)
public static int recogSplitIntoCharacters(lept.L_RECOG recog, lept.PIX pixs, int minw, int minh, PointerPointer pboxa, PointerPointer ppixa, PointerPointer pnaid, int debug)
public static int recogSplitIntoCharacters(lept.L_RECOG recog, lept.PIX pixs, int minw, int minh, lept.BOXA pboxa, lept.PIXA ppixa, lept.NUMA pnaid, int debug)
public static int recogCorrelationBestRow(lept.L_RECOG recog, lept.PIX pixs, PointerPointer pboxa, PointerPointer pnascore, PointerPointer pnaindex, PointerPointer psachar, int debug)
public static int recogCorrelationBestRow(lept.L_RECOG recog, lept.PIX pixs, lept.BOXA pboxa, lept.NUMA pnascore, lept.NUMA pnaindex, lept.SARRAY psachar, int debug)
public static int recogCorrelationBestChar(lept.L_RECOG recog, lept.PIX pixs, PointerPointer pbox, FloatPointer pscore, IntPointer pindex, PointerPointer pcharstr, PointerPointer ppixdb)
public static int recogCorrelationBestChar(lept.L_RECOG recog, lept.PIX pixs, lept.BOX pbox, FloatPointer pscore, IntPointer pindex, BytePointer pcharstr, lept.PIX ppixdb)
public static int recogCorrelationBestChar(lept.L_RECOG recog, lept.PIX pixs, lept.BOX pbox, FloatBuffer pscore, IntBuffer pindex, ByteBuffer pcharstr, lept.PIX ppixdb)
public static int recogCorrelationBestChar(lept.L_RECOG recog, lept.PIX pixs, lept.BOX pbox, float[] pscore, int[] pindex, byte[] pcharstr, lept.PIX ppixdb)
public static int recogaIdentifyPixa(lept.L_RECOGA recoga, lept.PIXA pixa, lept.NUMA naid, PointerPointer ppixdb)
public static int recogaIdentifyPixa(lept.L_RECOGA recoga, lept.PIXA pixa, lept.NUMA naid, lept.PIX ppixdb)
public static int recogIdentifyPixa(lept.L_RECOG recog, lept.PIXA pixa, lept.NUMA naid, PointerPointer ppixdb)
public static int recogIdentifyPixa(lept.L_RECOG recog, lept.PIXA pixa, lept.NUMA naid, lept.PIX ppixdb)
public static int recogIdentifyPix(lept.L_RECOG recog, lept.PIX pixs, PointerPointer ppixdb)
public static int recogIdentifyPix(lept.L_RECOG recog, lept.PIX pixs, lept.PIX ppixdb)
public static int recogSkipIdentify(lept.L_RECOG recog)
public static void rchaDestroy(PointerPointer prcha)
public static void rchaDestroy(lept.L_RCHA prcha)
public static void rchDestroy(PointerPointer prch)
public static void rchDestroy(lept.L_RCH prch)
public static int rchaExtract(lept.L_RCHA rcha, PointerPointer pnaindex, PointerPointer pnascore, PointerPointer psatext, PointerPointer pnasample, PointerPointer pnaxloc, PointerPointer pnayloc, PointerPointer pnawidth)
public static int rchaExtract(lept.L_RCHA rcha, lept.NUMA pnaindex, lept.NUMA pnascore, lept.SARRAY psatext, lept.NUMA pnasample, lept.NUMA pnaxloc, lept.NUMA pnayloc, lept.NUMA pnawidth)
public static int rchExtract(lept.L_RCH rch, IntPointer pindex, FloatPointer pscore, PointerPointer ptext, IntPointer psample, IntPointer pxloc, IntPointer pyloc, IntPointer pwidth)
public static int rchExtract(lept.L_RCH rch, IntPointer pindex, FloatPointer pscore, BytePointer ptext, IntPointer psample, IntPointer pxloc, IntPointer pyloc, IntPointer pwidth)
public static int rchExtract(lept.L_RCH rch, IntBuffer pindex, FloatBuffer pscore, ByteBuffer ptext, IntBuffer psample, IntBuffer pxloc, IntBuffer pyloc, IntBuffer pwidth)
public static int rchExtract(lept.L_RCH rch, int[] pindex, float[] pscore, byte[] ptext, int[] psample, int[] pxloc, int[] pyloc, int[] pwidth)
public static lept.PIX recogProcessToIdentify(lept.L_RECOG recog, lept.PIX pixs, int pad)
public static lept.PIX recogPreSplittingFilter(lept.L_RECOG recog, lept.PIX pixs, float maxasp, float minaf, float maxaf, int debug)
public static int recogSplittingFilter(lept.L_RECOG recog, lept.PIX pixs, float maxasp, float minaf, float maxaf, IntPointer premove, int debug)
public static int recogSplittingFilter(lept.L_RECOG recog, lept.PIX pixs, float maxasp, float minaf, float maxaf, IntBuffer premove, int debug)
public static int recogSplittingFilter(lept.L_RECOG recog, lept.PIX pixs, float maxasp, float minaf, float maxaf, int[] premove, int debug)
public static lept.SARRAY recogaExtractNumbers(lept.L_RECOGA recoga, lept.BOXA boxas, float scorethresh, int spacethresh, PointerPointer pbaa, PointerPointer pnaa)
public static lept.SARRAY recogaExtractNumbers(lept.L_RECOGA recoga, lept.BOXA boxas, float scorethresh, int spacethresh, lept.BOXAA pbaa, lept.NUMAA pnaa)
public static int recogSetTemplateType(lept.L_RECOG recog, int templ_type)
public static int recogSetScaling(lept.L_RECOG recog, int scalew, int scaleh)
public static int recogTrainLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, BytePointer text, int multflag, int debug)
public static int recogTrainLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, ByteBuffer text, int multflag, int debug)
public static int recogTrainLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, byte[] text, int multflag, int debug)
public static int recogProcessMultLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, BytePointer text, PointerPointer ppixa, int debug)
public static int recogProcessMultLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, BytePointer text, lept.PIXA ppixa, int debug)
public static int recogProcessMultLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, ByteBuffer text, lept.PIXA ppixa, int debug)
public static int recogProcessMultLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, byte[] text, lept.PIXA ppixa, int debug)
public static int recogProcessSingleLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, BytePointer text, PointerPointer ppixa)
public static int recogProcessSingleLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, BytePointer text, lept.PIXA ppixa)
public static int recogProcessSingleLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, ByteBuffer text, lept.PIXA ppixa)
public static int recogProcessSingleLabelled(lept.L_RECOG recog, lept.PIX pixs, lept.BOX box, byte[] text, lept.PIXA ppixa)
public static int recogAddSamples(lept.L_RECOG recog, lept.PIXA pixa, int classindex, int debug)
public static lept.PIX recogScaleCharacter(lept.L_RECOG recog, lept.PIX pixs)
public static int recogAverageSamples(lept.L_RECOG recog, int debug)
public static int pixaAccumulateSamples(lept.PIXA pixa, lept.PTA pta, PointerPointer ppixd, FloatPointer px, FloatPointer py)
public static int pixaAccumulateSamples(lept.PIXA pixa, lept.PTA pta, lept.PIX ppixd, FloatPointer px, FloatPointer py)
public static int pixaAccumulateSamples(lept.PIXA pixa, lept.PTA pta, lept.PIX ppixd, FloatBuffer px, FloatBuffer py)
public static int pixaAccumulateSamples(lept.PIXA pixa, lept.PTA pta, lept.PIX ppixd, float[] px, float[] py)
public static int recogTrainingFinished(lept.L_RECOG recog, int debug)
public static int recogRemoveOutliers(lept.L_RECOG recog, float targetscore, float minfract, int debug)
public static int recogaTrainingDone(lept.L_RECOGA recoga, IntPointer pdone)
public static int recogaTrainingDone(lept.L_RECOGA recoga, IntBuffer pdone)
public static int recogaTrainingDone(lept.L_RECOGA recoga, int[] pdone)
public static int recogaFinishAveraging(lept.L_RECOGA recoga)
public static int recogTrainUnlabelled(lept.L_RECOG recog, lept.L_RECOG recogboot, lept.PIX pixs, lept.BOX box, int singlechar, float minscore, int debug)
public static int recogPadTrainingSet(PointerPointer precog, int debug)
public static int recogPadTrainingSet(lept.L_RECOG precog, int debug)
public static int recogBestCorrelForPadding(lept.L_RECOG recog, lept.L_RECOGA recoga, PointerPointer pnaset, PointerPointer pnaindex, PointerPointer pnascore, PointerPointer pnasum, PointerPointer ppixadb)
public static int recogBestCorrelForPadding(lept.L_RECOG recog, lept.L_RECOGA recoga, lept.NUMA pnaset, lept.NUMA pnaindex, lept.NUMA pnascore, lept.NUMA pnasum, lept.PIXA ppixadb)
public static int recogCorrelAverages(lept.L_RECOG recog1, lept.L_RECOG recog2, PointerPointer pnaindex, PointerPointer pnascore, PointerPointer ppixadb)
public static int recogCorrelAverages(lept.L_RECOG recog1, lept.L_RECOG recog2, lept.NUMA pnaindex, lept.NUMA pnascore, lept.PIXA ppixadb)
public static int recogSetPadParams(lept.L_RECOG recog, BytePointer bootdir, BytePointer bootpattern, BytePointer bootpath, int type, int min_nopad, int max_afterpad)
public static int recogSetPadParams(lept.L_RECOG recog, String bootdir, String bootpattern, String bootpath, int type, int min_nopad, int max_afterpad)
public static int recogaShowContent(Pointer fp, lept.L_RECOGA recoga, int display)
public static int recogShowContent(Pointer fp, lept.L_RECOG recog, int display)
public static int recogDebugAverages(lept.L_RECOG recog, int debug)
public static int recogShowAverageTemplates(lept.L_RECOG recog)
public static int recogShowMatchesInRange(lept.L_RECOG recog, lept.PIXA pixa, float minscore, float maxscore, int display)
public static lept.PIX recogShowMatch(lept.L_RECOG recog, lept.PIX pix1, lept.PIX pix2, lept.BOX box, int index, float score)
public static int recogMakeBmf(lept.L_RECOG recog, BytePointer fontdir, int size)
public static int recogMakeBmf(lept.L_RECOG recog, String fontdir, int size)
public static int regTestSetup(int argc,
PointerPointer argv,
PointerPointer prp)
public static int regTestSetup(int argc,
BytePointer argv,
lept.L_REGPARAMS prp)
public static int regTestSetup(int argc,
ByteBuffer argv,
lept.L_REGPARAMS prp)
public static int regTestSetup(int argc,
byte[] argv,
lept.L_REGPARAMS prp)
public static int regTestCleanup(lept.L_REGPARAMS rp)
public static int regTestCompareValues(lept.L_REGPARAMS rp, float val1, float val2, float delta)
public static int regTestCompareStrings(lept.L_REGPARAMS rp, BytePointer string1, long bytes1, BytePointer string2, long bytes2)
public static int regTestCompareStrings(lept.L_REGPARAMS rp, ByteBuffer string1, long bytes1, ByteBuffer string2, long bytes2)
public static int regTestCompareStrings(lept.L_REGPARAMS rp, byte[] string1, long bytes1, byte[] string2, long bytes2)
public static int regTestComparePix(lept.L_REGPARAMS rp, lept.PIX pix1, lept.PIX pix2)
public static int regTestCompareSimilarPix(lept.L_REGPARAMS rp, lept.PIX pix1, lept.PIX pix2, int mindiff, float maxfract, int printstats)
public static int regTestCheckFile(lept.L_REGPARAMS rp, BytePointer localname)
public static int regTestCheckFile(lept.L_REGPARAMS rp, String localname)
public static int regTestCompareFiles(lept.L_REGPARAMS rp, int index1, int index2)
public static int regTestWritePixAndCheck(lept.L_REGPARAMS rp, lept.PIX pix, int format)
public static int pixRasterop(lept.PIX pixd, int dx, int dy, int dw, int dh, int op, lept.PIX pixs, int sx, int sy)
public static int pixRasteropVip(lept.PIX pixd, int bx, int bw, int vshift, int incolor)
public static int pixRasteropHip(lept.PIX pixd, int by, int bh, int hshift, int incolor)
public static lept.PIX pixTranslate(lept.PIX pixd, lept.PIX pixs, int hshift, int vshift, int incolor)
public static int pixRasteropIP(lept.PIX pixd, int hshift, int vshift, int incolor)
public static void rasteropVipLow(IntPointer data, int pixw, int pixh, int depth, int wpl, int x, int w, int shift)
public static void rasteropVipLow(IntBuffer data, int pixw, int pixh, int depth, int wpl, int x, int w, int shift)
public static void rasteropVipLow(int[] data,
int pixw,
int pixh,
int depth,
int wpl,
int x,
int w,
int shift)
public static void rasteropHipLow(IntPointer data, int pixh, int depth, int wpl, int y, int h, int shift)
public static void rasteropHipLow(IntBuffer data, int pixh, int depth, int wpl, int y, int h, int shift)
public static void rasteropHipLow(int[] data,
int pixh,
int depth,
int wpl,
int y,
int h,
int shift)
public static void shiftDataHorizontalLow(IntPointer datad, int wpld, IntPointer datas, int wpls, int shift)
public static void shiftDataHorizontalLow(IntBuffer datad, int wpld, IntBuffer datas, int wpls, int shift)
public static void shiftDataHorizontalLow(int[] datad,
int wpld,
int[] datas,
int wpls,
int shift)
public static void rasteropUniLow(IntPointer datad, int dpixw, int dpixh, int depth, int dwpl, int dx, int dy, int dw, int dh, int op)
public static void rasteropUniLow(IntBuffer datad, int dpixw, int dpixh, int depth, int dwpl, int dx, int dy, int dw, int dh, int op)
public static void rasteropUniLow(int[] datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op)
public static void rasteropLow(IntPointer datad, int dpixw, int dpixh, int depth, int dwpl, int dx, int dy, int dw, int dh, int op, IntPointer datas, int spixw, int spixh, int swpl, int sx, int sy)
public static void rasteropLow(IntBuffer datad, int dpixw, int dpixh, int depth, int dwpl, int dx, int dy, int dw, int dh, int op, IntBuffer datas, int spixw, int spixh, int swpl, int sx, int sy)
public static void rasteropLow(int[] datad,
int dpixw,
int dpixh,
int depth,
int dwpl,
int dx,
int dy,
int dw,
int dh,
int op,
int[] datas,
int spixw,
int spixh,
int swpl,
int sx,
int sy)
public static lept.PIX pixRotate(lept.PIX pixs, float angle, int type, int incolor, int width, int height)
public static lept.PIX pixEmbedForRotation(lept.PIX pixs, float angle, int incolor, int width, int height)
public static lept.PIX pixRotateBySampling(lept.PIX pixs, int xcen, int ycen, float angle, int incolor)
public static lept.PIX pixRotateBinaryNice(lept.PIX pixs, float angle, int incolor)
public static lept.PIX pixRotateWithAlpha(lept.PIX pixs, float angle, lept.PIX pixg, float fract)
public static lept.PIX pixRotateAMColorCorner(lept.PIX pixs, float angle, int fillval)
public static lept.PIX pixRotateAMGrayCorner(lept.PIX pixs, float angle, byte grayval)
public static lept.PIX pixRotateAMColorFast(lept.PIX pixs, float angle, int colorval)
public static void rotateAMColorLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, float angle, int colorval)
public static void rotateAMColorLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, float angle, int colorval)
public static void rotateAMColorLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
int colorval)
public static void rotateAMGrayLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, float angle, byte grayval)
public static void rotateAMGrayLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, float angle, byte grayval)
public static void rotateAMGrayLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
byte grayval)
public static void rotateAMColorCornerLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, float angle, int colorval)
public static void rotateAMColorCornerLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, float angle, int colorval)
public static void rotateAMColorCornerLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
int colorval)
public static void rotateAMGrayCornerLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, float angle, byte grayval)
public static void rotateAMGrayCornerLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, float angle, byte grayval)
public static void rotateAMGrayCornerLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
byte grayval)
public static void rotateAMColorFastLow(IntPointer datad, int w, int h, int wpld, IntPointer datas, int wpls, float angle, int colorval)
public static void rotateAMColorFastLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datas, int wpls, float angle, int colorval)
public static void rotateAMColorFastLow(int[] datad,
int w,
int h,
int wpld,
int[] datas,
int wpls,
float angle,
int colorval)
public static lept.PIX pixRotateShear(lept.PIX pixs, int xcen, int ycen, float angle, int incolor)
public static lept.PIX pixRotate2Shear(lept.PIX pixs, int xcen, int ycen, float angle, int incolor)
public static lept.PIX pixRotate3Shear(lept.PIX pixs, int xcen, int ycen, float angle, int incolor)
public static int pixRotateShearIP(lept.PIX pixs, int xcen, int ycen, float angle, int incolor)
public static lept.PIX pixRotateShearCenter(lept.PIX pixs, float angle, int incolor)
public static int pixRotateShearCenterIP(lept.PIX pixs, float angle, int incolor)
public static lept.PIX pixStrokeWidthTransform(lept.PIX pixs, int color, int depth, int nangles)
public static lept.PIX pixRunlengthTransform(lept.PIX pixs, int color, int direction, int depth)
public static int pixFindHorizontalRuns(lept.PIX pix, int y, IntPointer xstart, IntPointer xend, IntPointer pn)
public static int pixFindHorizontalRuns(lept.PIX pix, int y, IntBuffer xstart, IntBuffer xend, IntBuffer pn)
public static int pixFindHorizontalRuns(lept.PIX pix, int y, int[] xstart, int[] xend, int[] pn)
public static int pixFindVerticalRuns(lept.PIX pix, int x, IntPointer ystart, IntPointer yend, IntPointer pn)
public static int pixFindVerticalRuns(lept.PIX pix, int x, IntBuffer ystart, IntBuffer yend, IntBuffer pn)
public static int pixFindVerticalRuns(lept.PIX pix, int x, int[] ystart, int[] yend, int[] pn)
public static lept.NUMA pixFindMaxRuns(lept.PIX pix, int direction, PointerPointer pnastart)
public static lept.NUMA pixFindMaxRuns(lept.PIX pix, int direction, lept.NUMA pnastart)
public static int pixFindMaxHorizontalRunOnLine(lept.PIX pix, int y, IntPointer pxstart, IntPointer psize)
public static int pixFindMaxHorizontalRunOnLine(lept.PIX pix, int y, IntBuffer pxstart, IntBuffer psize)
public static int pixFindMaxHorizontalRunOnLine(lept.PIX pix, int y, int[] pxstart, int[] psize)
public static int pixFindMaxVerticalRunOnLine(lept.PIX pix, int x, IntPointer pystart, IntPointer psize)
public static int pixFindMaxVerticalRunOnLine(lept.PIX pix, int x, IntBuffer pystart, IntBuffer psize)
public static int pixFindMaxVerticalRunOnLine(lept.PIX pix, int x, int[] pystart, int[] psize)
public static int runlengthMembershipOnLine(IntPointer buffer, int size, int depth, IntPointer start, IntPointer end, int n)
public static int runlengthMembershipOnLine(IntBuffer buffer, int size, int depth, IntBuffer start, IntBuffer end, int n)
public static int runlengthMembershipOnLine(int[] buffer,
int size,
int depth,
int[] start,
int[] end,
int n)
public static IntPointer makeMSBitLocTab(int bitval)
public static lept.SARRAY sarrayCreate(int n)
public static lept.SARRAY sarrayCreateInitialized(int n, BytePointer initstr)
public static lept.SARRAY sarrayCreateInitialized(int n, ByteBuffer initstr)
public static lept.SARRAY sarrayCreateInitialized(int n, byte[] initstr)
public static lept.SARRAY sarrayCreateWordsFromString(BytePointer string)
public static lept.SARRAY sarrayCreateWordsFromString(String string)
public static lept.SARRAY sarrayCreateLinesFromString(BytePointer string, int blankflag)
public static lept.SARRAY sarrayCreateLinesFromString(ByteBuffer string, int blankflag)
public static lept.SARRAY sarrayCreateLinesFromString(byte[] string, int blankflag)
public static void sarrayDestroy(PointerPointer psa)
public static void sarrayDestroy(lept.SARRAY psa)
public static lept.SARRAY sarrayCopy(lept.SARRAY sa)
public static lept.SARRAY sarrayClone(lept.SARRAY sa)
public static int sarrayAddString(lept.SARRAY sa, BytePointer string, int copyflag)
public static int sarrayAddString(lept.SARRAY sa, ByteBuffer string, int copyflag)
public static int sarrayAddString(lept.SARRAY sa, byte[] string, int copyflag)
public static BytePointer sarrayRemoveString(lept.SARRAY sa, int index)
public static int sarrayReplaceString(lept.SARRAY sa, int index, BytePointer newstr, int copyflag)
public static int sarrayReplaceString(lept.SARRAY sa, int index, ByteBuffer newstr, int copyflag)
public static int sarrayReplaceString(lept.SARRAY sa, int index, byte[] newstr, int copyflag)
public static int sarrayClear(lept.SARRAY sa)
public static int sarrayGetCount(lept.SARRAY sa)
public static PointerPointer sarrayGetArray(lept.SARRAY sa, IntPointer pnalloc, IntPointer pn)
public static ByteBuffer sarrayGetArray(lept.SARRAY sa, IntBuffer pnalloc, IntBuffer pn)
public static byte[] sarrayGetArray(lept.SARRAY sa, int[] pnalloc, int[] pn)
public static BytePointer sarrayGetString(lept.SARRAY sa, int index, int copyflag)
public static int sarrayGetRefcount(lept.SARRAY sa)
public static int sarrayChangeRefcount(lept.SARRAY sa, int delta)
public static BytePointer sarrayToString(lept.SARRAY sa, int addnlflag)
public static BytePointer sarrayToStringRange(lept.SARRAY sa, int first, int nstrings, int addnlflag)
public static int sarrayConcatenate(lept.SARRAY sa1, lept.SARRAY sa2)
public static int sarrayAppendRange(lept.SARRAY sa1, lept.SARRAY sa2, int start, int end)
public static int sarrayPadToSameSize(lept.SARRAY sa1, lept.SARRAY sa2, BytePointer padstring)
public static int sarrayPadToSameSize(lept.SARRAY sa1, lept.SARRAY sa2, ByteBuffer padstring)
public static int sarrayPadToSameSize(lept.SARRAY sa1, lept.SARRAY sa2, byte[] padstring)
public static lept.SARRAY sarrayConvertWordsToLines(lept.SARRAY sa, int linesize)
public static int sarraySplitString(lept.SARRAY sa, BytePointer str, BytePointer separators)
public static int sarraySplitString(lept.SARRAY sa, String str, String separators)
public static lept.SARRAY sarraySelectBySubstring(lept.SARRAY sain, BytePointer substr)
public static lept.SARRAY sarraySelectBySubstring(lept.SARRAY sain, String substr)
public static lept.SARRAY sarraySelectByRange(lept.SARRAY sain, int first, int last)
public static int sarrayParseRange(lept.SARRAY sa, int start, IntPointer pactualstart, IntPointer pend, IntPointer pnewstart, BytePointer substr, int loc)
public static int sarrayParseRange(lept.SARRAY sa, int start, IntBuffer pactualstart, IntBuffer pend, IntBuffer pnewstart, String substr, int loc)
public static int sarrayParseRange(lept.SARRAY sa, int start, int[] pactualstart, int[] pend, int[] pnewstart, BytePointer substr, int loc)
public static int sarrayParseRange(lept.SARRAY sa, int start, IntPointer pactualstart, IntPointer pend, IntPointer pnewstart, String substr, int loc)
public static int sarrayParseRange(lept.SARRAY sa, int start, IntBuffer pactualstart, IntBuffer pend, IntBuffer pnewstart, BytePointer substr, int loc)
public static int sarrayParseRange(lept.SARRAY sa, int start, int[] pactualstart, int[] pend, int[] pnewstart, String substr, int loc)
public static lept.SARRAY sarraySort(lept.SARRAY saout, lept.SARRAY sain, int sortorder)
public static lept.SARRAY sarraySortByIndex(lept.SARRAY sain, lept.NUMA naindex)
public static int stringCompareLexical(BytePointer str1, BytePointer str2)
public static lept.SARRAY sarrayRead(BytePointer filename)
public static lept.SARRAY sarrayRead(String filename)
public static lept.SARRAY sarrayReadStream(Pointer fp)
public static int sarrayWrite(BytePointer filename, lept.SARRAY sa)
public static int sarrayWrite(String filename, lept.SARRAY sa)
public static int sarrayWriteStream(Pointer fp, lept.SARRAY sa)
public static int sarrayAppend(BytePointer filename, lept.SARRAY sa)
public static int sarrayAppend(String filename, lept.SARRAY sa)
public static lept.SARRAY getNumberedPathnamesInDirectory(BytePointer dirname, BytePointer substr, int numpre, int numpost, int maxnum)
public static lept.SARRAY getNumberedPathnamesInDirectory(String dirname, String substr, int numpre, int numpost, int maxnum)
public static lept.SARRAY getSortedPathnamesInDirectory(BytePointer dirname, BytePointer substr, int first, int nfiles)
public static lept.SARRAY getSortedPathnamesInDirectory(String dirname, String substr, int first, int nfiles)
public static lept.SARRAY convertSortedToNumberedPathnames(lept.SARRAY sa, int numpre, int numpost, int maxnum)
public static lept.SARRAY getFilenamesInDirectory(BytePointer dirname)
public static lept.SARRAY getFilenamesInDirectory(String dirname)
public static lept.PIX pixScaleGeneral(lept.PIX pixs, float scalex, float scaley, float sharpfract, int sharpwidth)
public static lept.PIX pixScaleBySampling(lept.PIX pixs, float scalex, float scaley)
public static lept.PIX pixScaleBySamplingToSize(lept.PIX pixs, int wd, int hd)
public static lept.PIX pixScaleRGBToGrayFast(lept.PIX pixs, int factor, int color)
public static lept.PIX pixScaleRGBToBinaryFast(lept.PIX pixs, int factor, int thresh)
public static lept.PIX pixScaleGrayToBinaryFast(lept.PIX pixs, int factor, int thresh)
public static lept.PIX pixScaleRGBToGray2(lept.PIX pixs, float rwt, float gwt, float bwt)
public static lept.PIX pixScaleGrayMinMax(lept.PIX pixs, int xfact, int yfact, int type)
public static lept.PIX pixScaleGrayRankCascade(lept.PIX pixs, int level1, int level2, int level3, int level4)
public static int pixScaleAndTransferAlpha(lept.PIX pixd, lept.PIX pixs, float scalex, float scaley)
public static lept.PIX pixScaleWithAlpha(lept.PIX pixs, float scalex, float scaley, lept.PIX pixg, float fract)
public static void scaleColorLILow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleColorLILow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleColorLILow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleGrayLILow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleGrayLILow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleGrayLILow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleColor2xLILow(IntPointer datad, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleColor2xLILow(IntBuffer datad, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleColor2xLILow(int[] datad,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleColor2xLILineLow(IntPointer lined, int wpld, IntPointer lines, int ws, int wpls, int lastlineflag)
public static void scaleColor2xLILineLow(IntBuffer lined, int wpld, IntBuffer lines, int ws, int wpls, int lastlineflag)
public static void scaleColor2xLILineLow(int[] lined,
int wpld,
int[] lines,
int ws,
int wpls,
int lastlineflag)
public static void scaleGray2xLILow(IntPointer datad, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleGray2xLILow(IntBuffer datad, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleGray2xLILow(int[] datad,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleGray2xLILineLow(IntPointer lined, int wpld, IntPointer lines, int ws, int wpls, int lastlineflag)
public static void scaleGray2xLILineLow(IntBuffer lined, int wpld, IntBuffer lines, int ws, int wpls, int lastlineflag)
public static void scaleGray2xLILineLow(int[] lined,
int wpld,
int[] lines,
int ws,
int wpls,
int lastlineflag)
public static void scaleGray4xLILow(IntPointer datad, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleGray4xLILow(IntBuffer datad, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleGray4xLILow(int[] datad,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleGray4xLILineLow(IntPointer lined, int wpld, IntPointer lines, int ws, int wpls, int lastlineflag)
public static void scaleGray4xLILineLow(IntBuffer lined, int wpld, IntBuffer lines, int ws, int wpls, int lastlineflag)
public static void scaleGray4xLILineLow(int[] lined,
int wpld,
int[] lines,
int ws,
int wpls,
int lastlineflag)
public static int scaleBySamplingLow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int d, int wpls)
public static int scaleBySamplingLow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int d, int wpls)
public static int scaleBySamplingLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int d,
int wpls)
public static int scaleSmoothLow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int d, int wpls, int size)
public static int scaleSmoothLow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int d, int wpls, int size)
public static int scaleSmoothLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int d,
int wpls,
int size)
public static void scaleRGBToGray2Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, float rwt, float gwt, float bwt)
public static void scaleRGBToGray2Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, float rwt, float gwt, float bwt)
public static void scaleRGBToGray2Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
float rwt,
float gwt,
float bwt)
public static void scaleColorAreaMapLow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleColorAreaMapLow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleColorAreaMapLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleGrayAreaMapLow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static void scaleGrayAreaMapLow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static void scaleGrayAreaMapLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleAreaMapLow2(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int d, int wpls)
public static void scaleAreaMapLow2(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int d, int wpls)
public static void scaleAreaMapLow2(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int d,
int wpls)
public static int scaleBinaryLow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int ws, int hs, int wpls)
public static int scaleBinaryLow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int ws, int hs, int wpls)
public static int scaleBinaryLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int ws,
int hs,
int wpls)
public static void scaleToGray2Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, IntPointer sumtab, BytePointer valtab)
public static void scaleToGray2Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, IntBuffer sumtab, ByteBuffer valtab)
public static void scaleToGray2Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] sumtab,
byte[] valtab)
public static IntPointer makeSumTabSG2()
public static BytePointer makeValTabSG2()
public static void scaleToGray3Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, IntPointer sumtab, BytePointer valtab)
public static void scaleToGray3Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, IntBuffer sumtab, ByteBuffer valtab)
public static void scaleToGray3Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] sumtab,
byte[] valtab)
public static IntPointer makeSumTabSG3()
public static BytePointer makeValTabSG3()
public static void scaleToGray4Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, IntPointer sumtab, BytePointer valtab)
public static void scaleToGray4Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, IntBuffer sumtab, ByteBuffer valtab)
public static void scaleToGray4Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] sumtab,
byte[] valtab)
public static IntPointer makeSumTabSG4()
public static BytePointer makeValTabSG4()
public static void scaleToGray6Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, IntPointer tab8, BytePointer valtab)
public static void scaleToGray6Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, IntBuffer tab8, ByteBuffer valtab)
public static void scaleToGray6Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] tab8,
byte[] valtab)
public static BytePointer makeValTabSG6()
public static void scaleToGray8Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, IntPointer tab8, BytePointer valtab)
public static void scaleToGray8Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, IntBuffer tab8, ByteBuffer valtab)
public static void scaleToGray8Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] tab8,
byte[] valtab)
public static BytePointer makeValTabSG8()
public static void scaleToGray16Low(IntPointer datad, int wd, int hd, int wpld, IntPointer datas, int wpls, IntPointer tab8)
public static void scaleToGray16Low(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas, int wpls, IntBuffer tab8)
public static void scaleToGray16Low(int[] datad,
int wd,
int hd,
int wpld,
int[] datas,
int wpls,
int[] tab8)
public static int scaleMipmapLow(IntPointer datad, int wd, int hd, int wpld, IntPointer datas1, int wpls1, IntPointer datas2, int wpls2, float red)
public static int scaleMipmapLow(IntBuffer datad, int wd, int hd, int wpld, IntBuffer datas1, int wpls1, IntBuffer datas2, int wpls2, float red)
public static int scaleMipmapLow(int[] datad,
int wd,
int hd,
int wpld,
int[] datas1,
int wpls1,
int[] datas2,
int wpls2,
float red)
public static lept.PIX pixSeedfillBinary(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int connectivity)
public static lept.PIX pixSeedfillBinaryRestricted(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int connectivity, int xmax, int ymax)
public static lept.PIX pixExtractBorderConnComps(lept.PIX pixs, int connectivity)
public static lept.PIX pixRemoveBorderConnComps(lept.PIX pixs, int connectivity)
public static lept.PIX pixFillHolesToBoundingRect(lept.PIX pixs, int minsize, float maxhfract, float minfgfract)
public static int pixSeedfillGrayInv(lept.PIX pixs, lept.PIX pixm, int connectivity)
public static int pixSeedfillGraySimple(lept.PIX pixs, lept.PIX pixm, int connectivity)
public static int pixSeedfillGrayInvSimple(lept.PIX pixs, lept.PIX pixm, int connectivity)
public static lept.PIX pixSeedfillGrayBasin(lept.PIX pixb, lept.PIX pixm, int delta, int connectivity)
public static lept.PIX pixDistanceFunction(lept.PIX pixs, int connectivity, int outdepth, int boundcond)
public static int pixLocalExtrema(lept.PIX pixs, int maxmin, int minmax, PointerPointer ppixmin, PointerPointer ppixmax)
public static int pixLocalExtrema(lept.PIX pixs, int maxmin, int minmax, lept.PIX ppixmin, lept.PIX ppixmax)
public static int pixSelectedLocalExtrema(lept.PIX pixs, int mindist, PointerPointer ppixmin, PointerPointer ppixmax)
public static int pixSelectedLocalExtrema(lept.PIX pixs, int mindist, lept.PIX ppixmin, lept.PIX ppixmax)
public static int pixSelectMinInConnComp(lept.PIX pixs, lept.PIX pixm, PointerPointer ppta, PointerPointer pnav)
public static int pixSelectMinInConnComp(lept.PIX pixs, lept.PIX pixm, lept.PTA ppta, lept.NUMA pnav)
public static lept.PIX pixRemoveSeededComponents(lept.PIX pixd, lept.PIX pixs, lept.PIX pixm, int connectivity, int bordersize)
public static void seedfillBinaryLow(IntPointer datas, int hs, int wpls, IntPointer datam, int hm, int wplm, int connectivity)
public static void seedfillBinaryLow(IntBuffer datas, int hs, int wpls, IntBuffer datam, int hm, int wplm, int connectivity)
public static void seedfillBinaryLow(int[] datas,
int hs,
int wpls,
int[] datam,
int hm,
int wplm,
int connectivity)
public static void seedfillGrayLow(IntPointer datas, int w, int h, int wpls, IntPointer datam, int wplm, int connectivity)
public static void seedfillGrayLow(IntBuffer datas, int w, int h, int wpls, IntBuffer datam, int wplm, int connectivity)
public static void seedfillGrayLow(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity)
public static void seedfillGrayInvLow(IntPointer datas, int w, int h, int wpls, IntPointer datam, int wplm, int connectivity)
public static void seedfillGrayInvLow(IntBuffer datas, int w, int h, int wpls, IntBuffer datam, int wplm, int connectivity)
public static void seedfillGrayInvLow(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity)
public static void seedfillGrayLowSimple(IntPointer datas, int w, int h, int wpls, IntPointer datam, int wplm, int connectivity)
public static void seedfillGrayLowSimple(IntBuffer datas, int w, int h, int wpls, IntBuffer datam, int wplm, int connectivity)
public static void seedfillGrayLowSimple(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity)
public static void seedfillGrayInvLowSimple(IntPointer datas, int w, int h, int wpls, IntPointer datam, int wplm, int connectivity)
public static void seedfillGrayInvLowSimple(IntBuffer datas, int w, int h, int wpls, IntBuffer datam, int wplm, int connectivity)
public static void seedfillGrayInvLowSimple(int[] datas,
int w,
int h,
int wpls,
int[] datam,
int wplm,
int connectivity)
public static void distanceFunctionLow(IntPointer datad, int w, int h, int d, int wpld, int connectivity)
public static void distanceFunctionLow(IntBuffer datad, int w, int h, int d, int wpld, int connectivity)
public static void distanceFunctionLow(int[] datad,
int w,
int h,
int d,
int wpld,
int connectivity)
public static void seedspreadLow(IntPointer datad, int w, int h, int wpld, IntPointer datat, int wplt, int connectivity)
public static void seedspreadLow(IntBuffer datad, int w, int h, int wpld, IntBuffer datat, int wplt, int connectivity)
public static void seedspreadLow(int[] datad,
int w,
int h,
int wpld,
int[] datat,
int wplt,
int connectivity)
public static lept.SELA selaCreate(int n)
public static void selaDestroy(PointerPointer psela)
public static void selaDestroy(lept.SELA psela)
public static lept.SEL selCreate(int height, int width, BytePointer name)
public static void selDestroy(PointerPointer psel)
public static void selDestroy(lept.SEL psel)
public static lept.SEL selCreateBrick(int h, int w, int cy, int cx, int type)
public static lept.SEL selCreateComb(int factor1, int factor2, int direction)
public static PointerPointer create2dIntArray(int sy, int sx)
public static int selaAddSel(lept.SELA sela, lept.SEL sel, BytePointer selname, int copyflag)
public static int selaGetCount(lept.SELA sela)
public static BytePointer selGetName(lept.SEL sel)
public static int selSetName(lept.SEL sel, BytePointer name)
public static int selaFindSelByName(lept.SELA sela, BytePointer name, IntPointer pindex, PointerPointer psel)
public static int selaFindSelByName(lept.SELA sela, BytePointer name, IntPointer pindex, lept.SEL psel)
public static int selaFindSelByName(lept.SELA sela, String name, IntBuffer pindex, lept.SEL psel)
public static int selaFindSelByName(lept.SELA sela, BytePointer name, int[] pindex, lept.SEL psel)
public static int selaFindSelByName(lept.SELA sela, String name, IntPointer pindex, lept.SEL psel)
public static int selaFindSelByName(lept.SELA sela, BytePointer name, IntBuffer pindex, lept.SEL psel)
public static int selaFindSelByName(lept.SELA sela, String name, int[] pindex, lept.SEL psel)
public static int selGetElement(lept.SEL sel, int row, int col, IntPointer ptype)
public static int selGetElement(lept.SEL sel, int row, int col, int[] ptype)
public static int selSetElement(lept.SEL sel, int row, int col, int type)
public static int selGetParameters(lept.SEL sel, IntPointer psy, IntPointer psx, IntPointer pcy, IntPointer pcx)
public static int selGetParameters(lept.SEL sel, IntBuffer psy, IntBuffer psx, IntBuffer pcy, IntBuffer pcx)
public static int selGetParameters(lept.SEL sel, int[] psy, int[] psx, int[] pcy, int[] pcx)
public static int selSetOrigin(lept.SEL sel, int cy, int cx)
public static int selGetTypeAtOrigin(lept.SEL sel, IntPointer ptype)
public static int selGetTypeAtOrigin(lept.SEL sel, int[] ptype)
public static BytePointer selaGetBrickName(lept.SELA sela, int hsize, int vsize)
public static BytePointer selaGetCombName(lept.SELA sela, int size, int direction)
public static int getCompositeParameters(int size,
IntPointer psize1,
IntPointer psize2,
PointerPointer pnameh1,
PointerPointer pnameh2,
PointerPointer pnamev1,
PointerPointer pnamev2)
public static int getCompositeParameters(int size,
IntPointer psize1,
IntPointer psize2,
BytePointer pnameh1,
BytePointer pnameh2,
BytePointer pnamev1,
BytePointer pnamev2)
public static int getCompositeParameters(int size,
IntBuffer psize1,
IntBuffer psize2,
ByteBuffer pnameh1,
ByteBuffer pnameh2,
ByteBuffer pnamev1,
ByteBuffer pnamev2)
public static int getCompositeParameters(int size,
int[] psize1,
int[] psize2,
byte[] pnameh1,
byte[] pnameh2,
byte[] pnamev1,
byte[] pnamev2)
public static lept.SARRAY selaGetSelnames(lept.SELA sela)
public static int selFindMaxTranslations(lept.SEL sel, IntPointer pxp, IntPointer pyp, IntPointer pxn, IntPointer pyn)
public static int selFindMaxTranslations(lept.SEL sel, IntBuffer pxp, IntBuffer pyp, IntBuffer pxn, IntBuffer pyn)
public static int selFindMaxTranslations(lept.SEL sel, int[] pxp, int[] pyp, int[] pxn, int[] pyn)
public static lept.SELA selaRead(BytePointer fname)
public static lept.SEL selRead(BytePointer fname)
public static int selaWrite(BytePointer fname, lept.SELA sela)
public static int selWrite(BytePointer fname, lept.SEL sel)
public static lept.SEL selCreateFromString(BytePointer text, int h, int w, BytePointer name)
public static lept.SEL selCreateFromString(String text, int h, int w, String name)
public static BytePointer selPrintToString(lept.SEL sel)
public static lept.SELA selaCreateFromFile(BytePointer filename)
public static lept.SEL selCreateFromPta(lept.PTA pta, int cy, int cx, BytePointer name)
public static lept.SEL selCreateFromPix(lept.PIX pix, int cy, int cx, BytePointer name)
public static lept.SEL selReadFromColorImage(BytePointer pathname)
public static lept.SEL selCreateFromColorPix(lept.PIX pixs, BytePointer selname)
public static lept.SEL selCreateFromColorPix(lept.PIX pixs, ByteBuffer selname)
public static lept.PIX selaDisplayInPix(lept.SELA sela, int size, int gthick, int spacing, int ncols)
public static lept.SELA selaAddCrossJunctions(lept.SELA sela, float hlsize, float mdist, int norient, int debugflag)
public static lept.SELA selaAddTJunctions(lept.SELA sela, float hlsize, float mdist, int norient, int debugflag)
public static lept.SEL pixGenerateSelWithRuns(lept.PIX pixs, int nhlines, int nvlines, int distance, int minlength, int toppix, int botpix, int leftpix, int rightpix, PointerPointer ppixe)
public static lept.SEL pixGenerateSelWithRuns(lept.PIX pixs, int nhlines, int nvlines, int distance, int minlength, int toppix, int botpix, int leftpix, int rightpix, lept.PIX ppixe)
public static lept.SEL pixGenerateSelRandom(lept.PIX pixs, float hitfract, float missfract, int distance, int toppix, int botpix, int leftpix, int rightpix, PointerPointer ppixe)
public static lept.SEL pixGenerateSelRandom(lept.PIX pixs, float hitfract, float missfract, int distance, int toppix, int botpix, int leftpix, int rightpix, lept.PIX ppixe)
public static lept.SEL pixGenerateSelBoundary(lept.PIX pixs, int hitdist, int missdist, int hitskip, int missskip, int topflag, int botflag, int leftflag, int rightflag, PointerPointer ppixe)
public static lept.SEL pixGenerateSelBoundary(lept.PIX pixs, int hitdist, int missdist, int hitskip, int missskip, int topflag, int botflag, int leftflag, int rightflag, lept.PIX ppixe)
public static lept.NUMA pixGetRunCentersOnLine(lept.PIX pixs, int x, int y, int minlength)
public static lept.NUMA pixGetRunsOnLine(lept.PIX pixs, int x1, int y1, int x2, int y2)
public static lept.PTA pixSubsampleBoundaryPixels(lept.PIX pixs, int skip)
public static int adjacentOnPixelInRaster(lept.PIX pixs, int x, int y, IntPointer pxa, IntPointer pya)
public static int adjacentOnPixelInRaster(lept.PIX pixs, int x, int y, IntBuffer pxa, IntBuffer pya)
public static int adjacentOnPixelInRaster(lept.PIX pixs, int x, int y, int[] pxa, int[] pya)
public static lept.PIX pixDisplayHitMissSel(lept.PIX pixs, lept.SEL sel, int scalefactor, int hitcolor, int misscolor)
public static lept.PIX pixHShear(lept.PIX pixd, lept.PIX pixs, int yloc, float radang, int incolor)
public static lept.PIX pixVShear(lept.PIX pixd, lept.PIX pixs, int xloc, float radang, int incolor)
public static lept.PIX pixHShearCorner(lept.PIX pixd, lept.PIX pixs, float radang, int incolor)
public static lept.PIX pixVShearCorner(lept.PIX pixd, lept.PIX pixs, float radang, int incolor)
public static lept.PIX pixHShearCenter(lept.PIX pixd, lept.PIX pixs, float radang, int incolor)
public static lept.PIX pixVShearCenter(lept.PIX pixd, lept.PIX pixs, float radang, int incolor)
public static int pixHShearIP(lept.PIX pixs, int yloc, float radang, int incolor)
public static int pixVShearIP(lept.PIX pixs, int xloc, float radang, int incolor)
public static lept.PIX pixFindSkewAndDeskew(lept.PIX pixs, int redsearch, FloatPointer pangle, FloatPointer pconf)
public static lept.PIX pixFindSkewAndDeskew(lept.PIX pixs, int redsearch, FloatBuffer pangle, FloatBuffer pconf)
public static lept.PIX pixFindSkewAndDeskew(lept.PIX pixs, int redsearch, float[] pangle, float[] pconf)
public static lept.PIX pixDeskewGeneral(lept.PIX pixs, int redsweep, float sweeprange, float sweepdelta, int redsearch, int thresh, FloatPointer pangle, FloatPointer pconf)
public static lept.PIX pixDeskewGeneral(lept.PIX pixs, int redsweep, float sweeprange, float sweepdelta, int redsearch, int thresh, FloatBuffer pangle, FloatBuffer pconf)
public static lept.PIX pixDeskewGeneral(lept.PIX pixs, int redsweep, float sweeprange, float sweepdelta, int redsearch, int thresh, float[] pangle, float[] pconf)
public static int pixFindSkew(lept.PIX pixs, FloatPointer pangle, FloatPointer pconf)
public static int pixFindSkew(lept.PIX pixs, FloatBuffer pangle, FloatBuffer pconf)
public static int pixFindSkew(lept.PIX pixs, float[] pangle, float[] pconf)
public static int pixFindSkewSweep(lept.PIX pixs, FloatPointer pangle, int reduction, float sweeprange, float sweepdelta)
public static int pixFindSkewSweep(lept.PIX pixs, FloatBuffer pangle, int reduction, float sweeprange, float sweepdelta)
public static int pixFindSkewSweep(lept.PIX pixs, float[] pangle, int reduction, float sweeprange, float sweepdelta)
public static int pixFindSkewSweepAndSearch(lept.PIX pixs, FloatPointer pangle, FloatPointer pconf, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixFindSkewSweepAndSearch(lept.PIX pixs, FloatBuffer pangle, FloatBuffer pconf, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixFindSkewSweepAndSearch(lept.PIX pixs, float[] pangle, float[] pconf, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixFindSkewSweepAndSearchScore(lept.PIX pixs, FloatPointer pangle, FloatPointer pconf, FloatPointer pendscore, int redsweep, int redsearch, float sweepcenter, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixFindSkewSweepAndSearchScore(lept.PIX pixs, FloatBuffer pangle, FloatBuffer pconf, FloatBuffer pendscore, int redsweep, int redsearch, float sweepcenter, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixFindSkewSweepAndSearchScore(lept.PIX pixs, float[] pangle, float[] pconf, float[] pendscore, int redsweep, int redsearch, float sweepcenter, float sweeprange, float sweepdelta, float minbsdelta)
public static int pixFindSkewSweepAndSearchScorePivot(lept.PIX pixs, FloatPointer pangle, FloatPointer pconf, FloatPointer pendscore, int redsweep, int redsearch, float sweepcenter, float sweeprange, float sweepdelta, float minbsdelta, int pivot)
public static int pixFindSkewSweepAndSearchScorePivot(lept.PIX pixs, FloatBuffer pangle, FloatBuffer pconf, FloatBuffer pendscore, int redsweep, int redsearch, float sweepcenter, float sweeprange, float sweepdelta, float minbsdelta, int pivot)
public static int pixFindSkewSweepAndSearchScorePivot(lept.PIX pixs, float[] pangle, float[] pconf, float[] pendscore, int redsweep, int redsearch, float sweepcenter, float sweeprange, float sweepdelta, float minbsdelta, int pivot)
public static int pixFindSkewOrthogonalRange(lept.PIX pixs, FloatPointer pangle, FloatPointer pconf, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, float confprior)
public static int pixFindSkewOrthogonalRange(lept.PIX pixs, FloatBuffer pangle, FloatBuffer pconf, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, float confprior)
public static int pixFindSkewOrthogonalRange(lept.PIX pixs, float[] pangle, float[] pconf, int redsweep, int redsearch, float sweeprange, float sweepdelta, float minbsdelta, float confprior)
public static int pixFindDifferentialSquareSum(lept.PIX pixs, FloatPointer psum)
public static int pixFindDifferentialSquareSum(lept.PIX pixs, FloatBuffer psum)
public static int pixFindDifferentialSquareSum(lept.PIX pixs, float[] psum)
public static int pixFindNormalizedSquareSum(lept.PIX pixs, FloatPointer phratio, FloatPointer pvratio, FloatPointer pfract)
public static int pixFindNormalizedSquareSum(lept.PIX pixs, FloatBuffer phratio, FloatBuffer pvratio, FloatBuffer pfract)
public static int pixFindNormalizedSquareSum(lept.PIX pixs, float[] phratio, float[] pvratio, float[] pfract)
public static int readHeaderSpix(BytePointer filename, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int readHeaderSpix(String filename, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int readHeaderSpix(BytePointer filename, int[] pwidth, int[] pheight, int[] pbps, int[] pspp, int[] piscmap)
public static int readHeaderSpix(String filename, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int readHeaderSpix(BytePointer filename, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int readHeaderSpix(String filename, int[] pwidth, int[] pheight, int[] pbps, int[] pspp, int[] piscmap)
public static int freadHeaderSpix(Pointer fp, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int freadHeaderSpix(Pointer fp, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int freadHeaderSpix(Pointer fp, int[] pwidth, int[] pheight, int[] pbps, int[] pspp, int[] piscmap)
public static int sreadHeaderSpix(IntPointer data, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer piscmap)
public static int sreadHeaderSpix(IntBuffer data, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer piscmap)
public static int sreadHeaderSpix(int[] data,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] piscmap)
public static lept.PIX pixReadMemSpix(BytePointer data, long size)
public static lept.PIX pixReadMemSpix(ByteBuffer data, long size)
public static lept.PIX pixReadMemSpix(byte[] data, long size)
public static int pixWriteMemSpix(PointerPointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemSpix(BytePointer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemSpix(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix)
public static int pixWriteMemSpix(byte[] pdata,
SizeTPointer psize,
lept.PIX pix)
public static int pixSerializeToMemory(lept.PIX pixs, PointerPointer pdata, SizeTPointer pnbytes)
public static int pixSerializeToMemory(lept.PIX pixs, IntPointer pdata, SizeTPointer pnbytes)
public static int pixSerializeToMemory(lept.PIX pixs, IntBuffer pdata, SizeTPointer pnbytes)
public static int pixSerializeToMemory(lept.PIX pixs, int[] pdata, SizeTPointer pnbytes)
public static lept.PIX pixDeserializeFromMemory(IntPointer data, long nbytes)
public static lept.PIX pixDeserializeFromMemory(IntBuffer data, long nbytes)
public static lept.PIX pixDeserializeFromMemory(int[] data, long nbytes)
public static lept.L_STACK lstackCreate(int nalloc)
public static void lstackDestroy(PointerPointer plstack, int freeflag)
public static void lstackDestroy(lept.L_STACK plstack, int freeflag)
public static int lstackAdd(lept.L_STACK lstack, Pointer item)
public static Pointer lstackRemove(lept.L_STACK lstack)
public static int lstackGetCount(lept.L_STACK lstack)
public static int lstackPrint(Pointer fp, lept.L_STACK lstack)
public static IntPointer sudokuReadFile(BytePointer filename)
public static IntPointer sudokuReadString(BytePointer str)
public static lept.L_SUDOKU sudokuCreate(IntPointer array)
public static lept.L_SUDOKU sudokuCreate(IntBuffer array)
public static lept.L_SUDOKU sudokuCreate(int[] array)
public static void sudokuDestroy(PointerPointer psud)
public static void sudokuDestroy(lept.L_SUDOKU psud)
public static int sudokuSolve(lept.L_SUDOKU sud)
public static int sudokuTestUniqueness(IntPointer array, IntPointer punique)
public static int sudokuTestUniqueness(int[] array,
int[] punique)
public static lept.L_SUDOKU sudokuGenerate(IntPointer array, int seed, int minelems, int maxtries)
public static lept.L_SUDOKU sudokuGenerate(IntBuffer array, int seed, int minelems, int maxtries)
public static lept.L_SUDOKU sudokuGenerate(int[] array, int seed, int minelems, int maxtries)
public static int sudokuOutput(lept.L_SUDOKU sud, int arraytype)
public static lept.PIX pixAddSingleTextblock(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int location, IntPointer poverflow)
public static lept.PIX pixAddSingleTextblock(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int location, IntBuffer poverflow)
public static lept.PIX pixAddSingleTextblock(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int location, int[] poverflow)
public static lept.PIX pixAddSingleTextblock(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int location, IntPointer poverflow)
public static lept.PIX pixAddSingleTextblock(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int location, IntBuffer poverflow)
public static lept.PIX pixAddSingleTextblock(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int location, int[] poverflow)
public static lept.PIX pixAddSingleTextline(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int location)
public static lept.PIX pixAddSingleTextline(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int location)
public static int pixSetTextblock(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int x0, int y0, int wtext, int firstindent, IntPointer poverflow)
public static int pixSetTextblock(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int x0, int y0, int wtext, int firstindent, IntBuffer poverflow)
public static int pixSetTextblock(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int x0, int y0, int wtext, int firstindent, int[] poverflow)
public static int pixSetTextblock(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int x0, int y0, int wtext, int firstindent, IntPointer poverflow)
public static int pixSetTextblock(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int x0, int y0, int wtext, int firstindent, IntBuffer poverflow)
public static int pixSetTextblock(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int x0, int y0, int wtext, int firstindent, int[] poverflow)
public static int pixSetTextline(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int x0, int y0, IntPointer pwidth, IntPointer poverflow)
public static int pixSetTextline(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int x0, int y0, IntBuffer pwidth, IntBuffer poverflow)
public static int pixSetTextline(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int x0, int y0, int[] pwidth, int[] poverflow)
public static int pixSetTextline(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int x0, int y0, IntPointer pwidth, IntPointer poverflow)
public static int pixSetTextline(lept.PIX pixs, lept.L_BMF bmf, BytePointer textstr, int val, int x0, int y0, IntBuffer pwidth, IntBuffer poverflow)
public static int pixSetTextline(lept.PIX pixs, lept.L_BMF bmf, String textstr, int val, int x0, int y0, int[] pwidth, int[] poverflow)
public static lept.PIXA pixaAddTextNumber(lept.PIXA pixas, lept.L_BMF bmf, lept.NUMA na, int val, int location)
public static lept.PIXA pixaAddTextline(lept.PIXA pixas, lept.L_BMF bmf, lept.SARRAY sa, int val, int location)
public static lept.SARRAY bmfGetLineStrings(lept.L_BMF bmf, BytePointer textstr, int maxw, int firstindent, IntPointer ph)
public static lept.SARRAY bmfGetLineStrings(lept.L_BMF bmf, String textstr, int maxw, int firstindent, IntBuffer ph)
public static lept.SARRAY bmfGetLineStrings(lept.L_BMF bmf, BytePointer textstr, int maxw, int firstindent, int[] ph)
public static lept.SARRAY bmfGetLineStrings(lept.L_BMF bmf, String textstr, int maxw, int firstindent, IntPointer ph)
public static lept.SARRAY bmfGetLineStrings(lept.L_BMF bmf, BytePointer textstr, int maxw, int firstindent, IntBuffer ph)
public static lept.SARRAY bmfGetLineStrings(lept.L_BMF bmf, String textstr, int maxw, int firstindent, int[] ph)
public static lept.NUMA bmfGetWordWidths(lept.L_BMF bmf, BytePointer textstr, lept.SARRAY sa)
public static lept.NUMA bmfGetWordWidths(lept.L_BMF bmf, String textstr, lept.SARRAY sa)
public static int bmfGetStringWidth(lept.L_BMF bmf, BytePointer textstr, IntPointer pw)
public static int bmfGetStringWidth(lept.L_BMF bmf, String textstr, IntBuffer pw)
public static int bmfGetStringWidth(lept.L_BMF bmf, BytePointer textstr, int[] pw)
public static int bmfGetStringWidth(lept.L_BMF bmf, String textstr, IntPointer pw)
public static int bmfGetStringWidth(lept.L_BMF bmf, BytePointer textstr, IntBuffer pw)
public static int bmfGetStringWidth(lept.L_BMF bmf, String textstr, int[] pw)
public static lept.SARRAY splitStringToParagraphs(BytePointer textstr, int splitflag)
public static lept.SARRAY splitStringToParagraphs(ByteBuffer textstr, int splitflag)
public static lept.SARRAY splitStringToParagraphs(byte[] textstr, int splitflag)
public static lept.PIX pixReadTiff(BytePointer filename, int n)
public static int pixWriteTiff(BytePointer filename, lept.PIX pix, int comptype, BytePointer modestring)
public static int pixWriteTiff(String filename, lept.PIX pix, int comptype, String modestring)
public static int pixWriteTiffCustom(BytePointer filename, lept.PIX pix, int comptype, BytePointer modestring, lept.NUMA natags, lept.SARRAY savals, lept.SARRAY satypes, lept.NUMA nasizes)
public static int pixWriteTiffCustom(String filename, lept.PIX pix, int comptype, String modestring, lept.NUMA natags, lept.SARRAY savals, lept.SARRAY satypes, lept.NUMA nasizes)
public static lept.PIXA pixaReadMultipageTiff(BytePointer filename)
public static int writeMultipageTiff(BytePointer dirin, BytePointer substr, BytePointer fileout)
public static int writeMultipageTiff(String dirin, String substr, String fileout)
public static int writeMultipageTiffSA(lept.SARRAY sa, BytePointer fileout)
public static int writeMultipageTiffSA(lept.SARRAY sa, String fileout)
public static int fprintTiffInfo(Pointer fpout, BytePointer tiffile)
public static int tiffGetCount(Pointer fp, IntPointer pn)
public static int tiffGetCount(Pointer fp, int[] pn)
public static int getTiffResolution(Pointer fp, IntPointer pxres, IntPointer pyres)
public static int getTiffResolution(Pointer fp, int[] pxres, int[] pyres)
public static int readHeaderTiff(BytePointer filename, int n, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer pres, IntPointer pcmap, IntPointer pformat)
public static int readHeaderTiff(String filename, int n, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer pres, IntBuffer pcmap, IntBuffer pformat)
public static int readHeaderTiff(BytePointer filename, int n, int[] pwidth, int[] pheight, int[] pbps, int[] pspp, int[] pres, int[] pcmap, int[] pformat)
public static int readHeaderTiff(String filename, int n, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer pres, IntPointer pcmap, IntPointer pformat)
public static int readHeaderTiff(BytePointer filename, int n, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer pres, IntBuffer pcmap, IntBuffer pformat)
public static int readHeaderTiff(String filename, int n, int[] pwidth, int[] pheight, int[] pbps, int[] pspp, int[] pres, int[] pcmap, int[] pformat)
public static int freadHeaderTiff(Pointer fp, int n, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer pres, IntPointer pcmap, IntPointer pformat)
public static int freadHeaderTiff(Pointer fp, int n, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer pres, IntBuffer pcmap, IntBuffer pformat)
public static int freadHeaderTiff(Pointer fp, int n, int[] pwidth, int[] pheight, int[] pbps, int[] pspp, int[] pres, int[] pcmap, int[] pformat)
public static int readHeaderMemTiff(BytePointer cdata, long size, int n, IntPointer pwidth, IntPointer pheight, IntPointer pbps, IntPointer pspp, IntPointer pres, IntPointer pcmap, IntPointer pformat)
public static int readHeaderMemTiff(ByteBuffer cdata, long size, int n, IntBuffer pwidth, IntBuffer pheight, IntBuffer pbps, IntBuffer pspp, IntBuffer pres, IntBuffer pcmap, IntBuffer pformat)
public static int readHeaderMemTiff(byte[] cdata,
long size,
int n,
int[] pwidth,
int[] pheight,
int[] pbps,
int[] pspp,
int[] pres,
int[] pcmap,
int[] pformat)
public static int findTiffCompression(Pointer fp, IntPointer pcomptype)
public static int findTiffCompression(Pointer fp, int[] pcomptype)
public static int extractG4DataFromFile(BytePointer filein, PointerPointer pdata, SizeTPointer pnbytes, IntPointer pw, IntPointer ph, IntPointer pminisblack)
public static int extractG4DataFromFile(BytePointer filein, BytePointer pdata, SizeTPointer pnbytes, IntPointer pw, IntPointer ph, IntPointer pminisblack)
public static int extractG4DataFromFile(String filein, ByteBuffer pdata, SizeTPointer pnbytes, IntBuffer pw, IntBuffer ph, IntBuffer pminisblack)
public static int extractG4DataFromFile(BytePointer filein, byte[] pdata, SizeTPointer pnbytes, int[] pw, int[] ph, int[] pminisblack)
public static int extractG4DataFromFile(String filein, BytePointer pdata, SizeTPointer pnbytes, IntPointer pw, IntPointer ph, IntPointer pminisblack)
public static int extractG4DataFromFile(BytePointer filein, ByteBuffer pdata, SizeTPointer pnbytes, IntBuffer pw, IntBuffer ph, IntBuffer pminisblack)
public static int extractG4DataFromFile(String filein, byte[] pdata, SizeTPointer pnbytes, int[] pw, int[] ph, int[] pminisblack)
public static lept.PIX pixReadMemTiff(BytePointer cdata, long size, int n)
public static lept.PIX pixReadMemTiff(ByteBuffer cdata, long size, int n)
public static lept.PIX pixReadMemTiff(byte[] cdata, long size, int n)
public static int pixWriteMemTiff(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, int comptype)
public static int pixWriteMemTiff(BytePointer pdata, SizeTPointer psize, lept.PIX pix, int comptype)
public static int pixWriteMemTiff(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, int comptype)
public static int pixWriteMemTiff(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype)
public static int pixWriteMemTiffCustom(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, int comptype, lept.NUMA natags, lept.SARRAY savals, lept.SARRAY satypes, lept.NUMA nasizes)
public static int pixWriteMemTiffCustom(BytePointer pdata, SizeTPointer psize, lept.PIX pix, int comptype, lept.NUMA natags, lept.SARRAY savals, lept.SARRAY satypes, lept.NUMA nasizes)
public static int pixWriteMemTiffCustom(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, int comptype, lept.NUMA natags, lept.SARRAY savals, lept.SARRAY satypes, lept.NUMA nasizes)
public static int pixWriteMemTiffCustom(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int comptype,
lept.NUMA natags,
lept.SARRAY savals,
lept.SARRAY satypes,
lept.NUMA nasizes)
public static int setMsgSeverity(int newsev)
public static int returnErrorInt(BytePointer msg, BytePointer procname, int ival)
public static float returnErrorFloat(BytePointer msg, BytePointer procname, float fval)
public static Pointer returnErrorPtr(BytePointer msg, BytePointer procname, Pointer pval)
public static BytePointer stringNew(BytePointer src)
public static ByteBuffer stringNew(String src)
public static int stringCopy(BytePointer dest, BytePointer src, int n)
public static int stringCopy(ByteBuffer dest, String src, int n)
public static int stringCopy(byte[] dest,
BytePointer src,
int n)
public static int stringCopy(BytePointer dest, String src, int n)
public static int stringCopy(ByteBuffer dest, BytePointer src, int n)
public static int stringCopy(byte[] dest,
String src,
int n)
public static int stringReplace(PointerPointer pdest, BytePointer src)
public static int stringReplace(BytePointer pdest, BytePointer src)
public static int stringReplace(ByteBuffer pdest, String src)
public static int stringReplace(byte[] pdest,
BytePointer src)
public static int stringReplace(BytePointer pdest, String src)
public static int stringReplace(ByteBuffer pdest, BytePointer src)
public static int stringReplace(byte[] pdest,
String src)
public static int stringLength(BytePointer src, long size)
public static int stringLength(String src, long size)
public static int stringCat(BytePointer dest, long size, BytePointer src)
public static int stringCat(ByteBuffer dest, long size, String src)
public static int stringCat(byte[] dest,
long size,
BytePointer src)
public static int stringCat(BytePointer dest, long size, String src)
public static int stringCat(ByteBuffer dest, long size, BytePointer src)
public static int stringCat(byte[] dest,
long size,
String src)
public static BytePointer stringConcatNew(BytePointer first)
public static ByteBuffer stringConcatNew(String first)
public static BytePointer stringJoin(BytePointer src1, BytePointer src2)
public static ByteBuffer stringJoin(String src1, String src2)
public static BytePointer stringReverse(BytePointer src)
public static ByteBuffer stringReverse(String src)
public static BytePointer strtokSafe(BytePointer cstr, BytePointer seps, PointerPointer psaveptr)
public static BytePointer strtokSafe(BytePointer cstr, BytePointer seps, BytePointer psaveptr)
public static ByteBuffer strtokSafe(ByteBuffer cstr, String seps, ByteBuffer psaveptr)
public static byte[] strtokSafe(byte[] cstr,
BytePointer seps,
byte[] psaveptr)
public static BytePointer strtokSafe(BytePointer cstr, String seps, BytePointer psaveptr)
public static ByteBuffer strtokSafe(ByteBuffer cstr, BytePointer seps, ByteBuffer psaveptr)
public static byte[] strtokSafe(byte[] cstr,
String seps,
byte[] psaveptr)
public static int stringSplitOnToken(BytePointer cstr, BytePointer seps, PointerPointer phead, PointerPointer ptail)
public static int stringSplitOnToken(BytePointer cstr, BytePointer seps, BytePointer phead, BytePointer ptail)
public static int stringSplitOnToken(ByteBuffer cstr, String seps, ByteBuffer phead, ByteBuffer ptail)
public static int stringSplitOnToken(byte[] cstr,
BytePointer seps,
byte[] phead,
byte[] ptail)
public static int stringSplitOnToken(BytePointer cstr, String seps, BytePointer phead, BytePointer ptail)
public static int stringSplitOnToken(ByteBuffer cstr, BytePointer seps, ByteBuffer phead, ByteBuffer ptail)
public static int stringSplitOnToken(byte[] cstr,
String seps,
byte[] phead,
byte[] ptail)
public static BytePointer stringRemoveChars(BytePointer src, BytePointer remchars)
public static ByteBuffer stringRemoveChars(String src, String remchars)
public static int stringFindSubstr(BytePointer src, BytePointer sub, IntPointer ploc)
public static int stringFindSubstr(BytePointer src, BytePointer sub, int[] ploc)
public static int stringFindSubstr(String src, String sub, IntPointer ploc)
public static int stringFindSubstr(BytePointer src, BytePointer sub, IntBuffer ploc)
public static BytePointer stringReplaceSubstr(BytePointer src, BytePointer sub1, BytePointer sub2, IntPointer pfound, IntPointer ploc)
public static ByteBuffer stringReplaceSubstr(String src, String sub1, String sub2, IntBuffer pfound, IntBuffer ploc)
public static byte[] stringReplaceSubstr(BytePointer src, BytePointer sub1, BytePointer sub2, int[] pfound, int[] ploc)
public static BytePointer stringReplaceSubstr(String src, String sub1, String sub2, IntPointer pfound, IntPointer ploc)
public static ByteBuffer stringReplaceSubstr(BytePointer src, BytePointer sub1, BytePointer sub2, IntBuffer pfound, IntBuffer ploc)
public static byte[] stringReplaceSubstr(String src, String sub1, String sub2, int[] pfound, int[] ploc)
public static BytePointer stringReplaceEachSubstr(BytePointer src, BytePointer sub1, BytePointer sub2, IntPointer pcount)
public static ByteBuffer stringReplaceEachSubstr(String src, String sub1, String sub2, IntBuffer pcount)
public static byte[] stringReplaceEachSubstr(BytePointer src, BytePointer sub1, BytePointer sub2, int[] pcount)
public static BytePointer stringReplaceEachSubstr(String src, String sub1, String sub2, IntPointer pcount)
public static ByteBuffer stringReplaceEachSubstr(BytePointer src, BytePointer sub1, BytePointer sub2, IntBuffer pcount)
public static byte[] stringReplaceEachSubstr(String src, String sub1, String sub2, int[] pcount)
public static lept.L_DNA arrayFindEachSequence(BytePointer data, long datalen, BytePointer sequence, long seqlen)
public static lept.L_DNA arrayFindEachSequence(ByteBuffer data, long datalen, ByteBuffer sequence, long seqlen)
public static lept.L_DNA arrayFindEachSequence(byte[] data, long datalen, byte[] sequence, long seqlen)
public static int arrayFindSequence(BytePointer data, long datalen, BytePointer sequence, long seqlen, IntPointer poffset, IntPointer pfound)
public static int arrayFindSequence(ByteBuffer data, long datalen, ByteBuffer sequence, long seqlen, IntBuffer poffset, IntBuffer pfound)
public static int arrayFindSequence(byte[] data,
long datalen,
byte[] sequence,
long seqlen,
int[] poffset,
int[] pfound)
public static Pointer reallocNew(PointerPointer pindata, int oldsize, int newsize)
public static BytePointer l_binaryRead(BytePointer filename, SizeTPointer pnbytes)
public static ByteBuffer l_binaryRead(String filename, SizeTPointer pnbytes)
public static BytePointer l_binaryReadStream(Pointer fp, SizeTPointer pnbytes)
public static BytePointer l_binaryReadSelect(BytePointer filename, long start, long nbytes, SizeTPointer pnread)
public static ByteBuffer l_binaryReadSelect(String filename, long start, long nbytes, SizeTPointer pnread)
public static BytePointer l_binaryReadSelectStream(Pointer fp, long start, long nbytes, SizeTPointer pnread)
public static int l_binaryWrite(BytePointer filename, BytePointer operation, Pointer data, long nbytes)
public static int l_binaryWrite(String filename, String operation, Pointer data, long nbytes)
public static long nbytesInFile(BytePointer filename)
public static long nbytesInFile(String filename)
public static long fnbytesInFile(Pointer fp)
public static BytePointer l_binaryCopy(BytePointer datas, long size)
public static ByteBuffer l_binaryCopy(ByteBuffer datas, long size)
public static byte[] l_binaryCopy(byte[] datas,
long size)
public static int fileCopy(BytePointer srcfile, BytePointer newfile)
public static int fileConcatenate(BytePointer srcfile, BytePointer destfile)
public static int fileAppendString(BytePointer filename, BytePointer str)
public static int filesAreIdentical(BytePointer fname1, BytePointer fname2, IntPointer psame)
public static int filesAreIdentical(String fname1, String fname2, IntBuffer psame)
public static int filesAreIdentical(BytePointer fname1, BytePointer fname2, int[] psame)
public static int filesAreIdentical(String fname1, String fname2, IntPointer psame)
public static int filesAreIdentical(BytePointer fname1, BytePointer fname2, IntBuffer psame)
public static short convertOnLittleEnd16(short shortin)
public static short convertOnBigEnd16(short shortin)
public static int convertOnLittleEnd32(int wordin)
public static int convertOnBigEnd32(int wordin)
public static Pointer fopenReadStream(BytePointer filename)
public static Pointer fopenWriteStream(BytePointer filename, BytePointer modestring)
public static Pointer lept_fopen(BytePointer filename, BytePointer mode)
public static int lept_fclose(Pointer fp)
public static Pointer lept_calloc(long nmemb, long size)
public static void lept_free(Pointer ptr)
public static int lept_mkdir(BytePointer subdir)
public static int lept_mkdir(String subdir)
public static int lept_rmdir(BytePointer subdir)
public static int lept_rmdir(String subdir)
public static void lept_direxists(BytePointer dir, IntPointer pexists)
public static void lept_direxists(BytePointer dir, int[] pexists)
public static void lept_direxists(String dir, IntPointer pexists)
public static void lept_direxists(BytePointer dir, IntBuffer pexists)
public static void lept_direxists(String dir, int[] pexists)
public static int lept_rm_match(BytePointer subdir, BytePointer substr)
public static int lept_rm(BytePointer subdir, BytePointer tail)
public static int lept_rmfile(BytePointer filepath)
public static int lept_rmfile(String filepath)
public static int lept_mv(BytePointer srcfile, BytePointer newdir, BytePointer newtail, PointerPointer pnewpath)
public static int lept_mv(BytePointer srcfile, BytePointer newdir, BytePointer newtail, BytePointer pnewpath)
public static int lept_mv(String srcfile, String newdir, String newtail, ByteBuffer pnewpath)
public static int lept_mv(BytePointer srcfile, BytePointer newdir, BytePointer newtail, byte[] pnewpath)
public static int lept_mv(String srcfile, String newdir, String newtail, BytePointer pnewpath)
public static int lept_mv(BytePointer srcfile, BytePointer newdir, BytePointer newtail, ByteBuffer pnewpath)
public static int lept_cp(BytePointer srcfile, BytePointer newdir, BytePointer newtail, PointerPointer pnewpath)
public static int lept_cp(BytePointer srcfile, BytePointer newdir, BytePointer newtail, BytePointer pnewpath)
public static int lept_cp(String srcfile, String newdir, String newtail, ByteBuffer pnewpath)
public static int lept_cp(BytePointer srcfile, BytePointer newdir, BytePointer newtail, byte[] pnewpath)
public static int lept_cp(String srcfile, String newdir, String newtail, BytePointer pnewpath)
public static int lept_cp(BytePointer srcfile, BytePointer newdir, BytePointer newtail, ByteBuffer pnewpath)
public static int splitPathAtDirectory(BytePointer pathname, PointerPointer pdir, PointerPointer ptail)
public static int splitPathAtDirectory(BytePointer pathname, BytePointer pdir, BytePointer ptail)
public static int splitPathAtDirectory(String pathname, ByteBuffer pdir, ByteBuffer ptail)
public static int splitPathAtDirectory(BytePointer pathname, byte[] pdir, byte[] ptail)
public static int splitPathAtDirectory(String pathname, BytePointer pdir, BytePointer ptail)
public static int splitPathAtDirectory(BytePointer pathname, ByteBuffer pdir, ByteBuffer ptail)
public static int splitPathAtDirectory(String pathname, byte[] pdir, byte[] ptail)
public static int splitPathAtExtension(BytePointer pathname, PointerPointer pbasename, PointerPointer pextension)
public static int splitPathAtExtension(BytePointer pathname, BytePointer pbasename, BytePointer pextension)
public static int splitPathAtExtension(String pathname, ByteBuffer pbasename, ByteBuffer pextension)
public static int splitPathAtExtension(BytePointer pathname, byte[] pbasename, byte[] pextension)
public static int splitPathAtExtension(String pathname, BytePointer pbasename, BytePointer pextension)
public static int splitPathAtExtension(BytePointer pathname, ByteBuffer pbasename, ByteBuffer pextension)
public static int splitPathAtExtension(String pathname, byte[] pbasename, byte[] pextension)
public static BytePointer pathJoin(BytePointer dir, BytePointer fname)
public static ByteBuffer pathJoin(String dir, String fname)
public static BytePointer appendSubdirectory(BytePointer dir, BytePointer subdir)
public static ByteBuffer appendSubdirectory(String dir, String subdir)
public static int convertSepCharsInPath(BytePointer path, int type)
public static int convertSepCharsInPath(ByteBuffer path, int type)
public static int convertSepCharsInPath(byte[] path,
int type)
public static BytePointer genPathname(BytePointer dir, BytePointer fname)
public static ByteBuffer genPathname(String dir, String fname)
public static int makeTempDirname(BytePointer result, long nbytes, BytePointer subdir)
public static int makeTempDirname(ByteBuffer result, long nbytes, String subdir)
public static int makeTempDirname(byte[] result,
long nbytes,
BytePointer subdir)
public static int makeTempDirname(BytePointer result, long nbytes, String subdir)
public static int makeTempDirname(ByteBuffer result, long nbytes, BytePointer subdir)
public static int makeTempDirname(byte[] result,
long nbytes,
String subdir)
public static int modifyTrailingSlash(BytePointer path, long nbytes, int flag)
public static int modifyTrailingSlash(ByteBuffer path, long nbytes, int flag)
public static int modifyTrailingSlash(byte[] path,
long nbytes,
int flag)
public static BytePointer genTempFilename(BytePointer dir, BytePointer tail, int usetime, int usepid)
public static ByteBuffer genTempFilename(String dir, String tail, int usetime, int usepid)
public static int extractNumberFromFilename(BytePointer fname, int numpre, int numpost)
public static int extractNumberFromFilename(String fname, int numpre, int numpost)
public static int fileCorruptByDeletion(BytePointer filein, float loc, float size, BytePointer fileout)
public static int fileCorruptByDeletion(String filein, float loc, float size, String fileout)
public static int fileCorruptByMutation(BytePointer filein, float loc, float size, BytePointer fileout)
public static int fileCorruptByMutation(String filein, float loc, float size, String fileout)
public static int genRandomIntegerInRange(int range,
int seed,
IntPointer pval)
public static int genRandomIntegerInRange(int range,
int seed,
IntBuffer pval)
public static int genRandomIntegerInRange(int range,
int seed,
int[] pval)
public static int lept_roundftoi(float fval)
public static int convertBinaryToGrayCode(int val)
public static int convertGrayCodeToBinary(int val)
public static BytePointer getLeptonicaVersion()
public static void startTimer()
public static float stopTimer()
public static lept.L_TIMER startTimerNested()
public static float stopTimerNested(lept.L_TIMER rusage_start)
public static void l_getCurrentTime(IntPointer sec, IntPointer usec)
public static void l_getCurrentTime(int[] sec,
int[] usec)
public static BytePointer l_getFormattedDate()
public static int pixHtmlViewer(BytePointer dirin, BytePointer dirout, BytePointer rootname, int thumbwidth, int viewwidth, int copyorig)
public static int pixHtmlViewer(String dirin, String dirout, String rootname, int thumbwidth, int viewwidth, int copyorig)
public static lept.PIX pixSimpleCaptcha(lept.PIX pixs, int border, int nterms, int seed, int color, int cmapflag)
public static lept.PIX pixRandomHarmonicWarp(lept.PIX pixs, float xmag, float ymag, float xfreq, float yfreq, int nx, int ny, int seed, int grayval)
public static lept.PIX pixWarpStereoscopic(lept.PIX pixs, int zbend, int zshiftt, int zshiftb, int ybendt, int ybendb, int redleft)
public static lept.PIX pixStretchHorizontal(lept.PIX pixs, int dir, int type, int hmax, int operation, int incolor)
public static lept.PIX pixStretchHorizontalSampled(lept.PIX pixs, int dir, int type, int hmax, int incolor)
public static lept.PIX pixStretchHorizontalLI(lept.PIX pixs, int dir, int type, int hmax, int incolor)
public static lept.PIX pixQuadraticVShear(lept.PIX pixs, int dir, int vmaxt, int vmaxb, int operation, int incolor)
public static lept.PIX pixQuadraticVShearSampled(lept.PIX pixs, int dir, int vmaxt, int vmaxb, int incolor)
public static lept.PIX pixQuadraticVShearLI(lept.PIX pixs, int dir, int vmaxt, int vmaxb, int incolor)
public static lept.PIX pixStereoFromPair(lept.PIX pix1, lept.PIX pix2, float rwt, float gwt, float bwt)
public static lept.L_WSHED wshedCreate(lept.PIX pixs, lept.PIX pixm, int mindepth, int debugflag)
public static void wshedDestroy(PointerPointer pwshed)
public static void wshedDestroy(lept.L_WSHED pwshed)
public static int wshedApply(lept.L_WSHED wshed)
public static int wshedBasins(lept.L_WSHED wshed, PointerPointer ppixa, PointerPointer pnalevels)
public static int wshedBasins(lept.L_WSHED wshed, lept.PIXA ppixa, lept.NUMA pnalevels)
public static lept.PIX wshedRenderFill(lept.L_WSHED wshed)
public static lept.PIX wshedRenderColors(lept.L_WSHED wshed)
public static lept.PIX pixReadMemWebP(BytePointer filedata, long filesize)
public static lept.PIX pixReadMemWebP(ByteBuffer filedata, long filesize)
public static lept.PIX pixReadMemWebP(byte[] filedata, long filesize)
public static int readHeaderWebP(BytePointer filename, IntPointer pw, IntPointer ph, IntPointer pspp)
public static int readHeaderWebP(String filename, IntBuffer pw, IntBuffer ph, IntBuffer pspp)
public static int readHeaderWebP(BytePointer filename, int[] pw, int[] ph, int[] pspp)
public static int readHeaderWebP(String filename, IntPointer pw, IntPointer ph, IntPointer pspp)
public static int readHeaderWebP(BytePointer filename, IntBuffer pw, IntBuffer ph, IntBuffer pspp)
public static int readHeaderWebP(String filename, int[] pw, int[] ph, int[] pspp)
public static int readHeaderMemWebP(BytePointer data, long size, IntPointer pw, IntPointer ph, IntPointer pspp)
public static int readHeaderMemWebP(ByteBuffer data, long size, IntBuffer pw, IntBuffer ph, IntBuffer pspp)
public static int readHeaderMemWebP(byte[] data,
long size,
int[] pw,
int[] ph,
int[] pspp)
public static int pixWriteWebP(BytePointer filename, lept.PIX pixs, int quality, int lossless)
public static int pixWriteWebP(String filename, lept.PIX pixs, int quality, int lossless)
public static int pixWriteStreamWebP(Pointer fp, lept.PIX pixs, int quality, int lossless)
public static int pixWriteMemWebP(PointerPointer pencdata, SizeTPointer pencsize, lept.PIX pixs, int quality, int lossless)
public static int pixWriteMemWebP(BytePointer pencdata, SizeTPointer pencsize, lept.PIX pixs, int quality, int lossless)
public static int pixWriteMemWebP(ByteBuffer pencdata, SizeTPointer pencsize, lept.PIX pixs, int quality, int lossless)
public static int pixWriteMemWebP(byte[] pencdata,
SizeTPointer pencsize,
lept.PIX pixs,
int quality,
int lossless)
public static int pixaWriteFiles(BytePointer rootname, lept.PIXA pixa, int format)
public static int pixWrite(BytePointer filename, lept.PIX pix, int format)
public static int pixWriteImpliedFormat(BytePointer filename, lept.PIX pix, int quality, int progressive)
public static int pixWriteImpliedFormat(String filename, lept.PIX pix, int quality, int progressive)
public static int pixWriteTempfile(BytePointer dir, BytePointer tail, lept.PIX pix, int format, PointerPointer pfilename)
public static int pixWriteTempfile(BytePointer dir, BytePointer tail, lept.PIX pix, int format, BytePointer pfilename)
public static int pixWriteTempfile(String dir, String tail, lept.PIX pix, int format, ByteBuffer pfilename)
public static int pixWriteTempfile(BytePointer dir, BytePointer tail, lept.PIX pix, int format, byte[] pfilename)
public static int pixWriteTempfile(String dir, String tail, lept.PIX pix, int format, BytePointer pfilename)
public static int pixWriteTempfile(BytePointer dir, BytePointer tail, lept.PIX pix, int format, ByteBuffer pfilename)
public static int pixWriteTempfile(String dir, String tail, lept.PIX pix, int format, byte[] pfilename)
public static int pixChooseOutputFormat(lept.PIX pix)
public static int getImpliedFileFormat(BytePointer filename)
public static int getImpliedFileFormat(String filename)
public static BytePointer getFormatExtension(int format)
public static int pixWriteMem(PointerPointer pdata, SizeTPointer psize, lept.PIX pix, int format)
public static int pixWriteMem(BytePointer pdata, SizeTPointer psize, lept.PIX pix, int format)
public static int pixWriteMem(ByteBuffer pdata, SizeTPointer psize, lept.PIX pix, int format)
public static int pixWriteMem(byte[] pdata,
SizeTPointer psize,
lept.PIX pix,
int format)
public static int pixDisplay(lept.PIX pixs, int x, int y)
public static int pixDisplayWithTitle(lept.PIX pixs, int x, int y, BytePointer title, int dispflag)
public static int pixDisplayWithTitle(lept.PIX pixs, int x, int y, String title, int dispflag)
public static int pixDisplayMultiple(BytePointer filepattern)
public static int pixDisplayMultiple(String filepattern)
public static int pixDisplayWrite(lept.PIX pixs, int reduction)
public static int pixDisplayWriteFormat(lept.PIX pixs, int reduction, int format)
public static int pixSaveTiled(lept.PIX pixs, lept.PIXA pixa, float scalefactor, int newrow, int space, int dp)
public static int pixSaveTiledOutline(lept.PIX pixs, lept.PIXA pixa, float scalefactor, int newrow, int space, int linewidth, int dp)
public static int pixSaveTiledWithText(lept.PIX pixs, lept.PIXA pixa, int outwidth, int newrow, int space, int linewidth, lept.L_BMF bmf, BytePointer textstr, int val, int location)
public static int pixSaveTiledWithText(lept.PIX pixs, lept.PIXA pixa, int outwidth, int newrow, int space, int linewidth, lept.L_BMF bmf, String textstr, int val, int location)
public static void l_chooseDisplayProg(int selection)
public static BytePointer zlibCompress(BytePointer datain, long nin, SizeTPointer pnout)
public static ByteBuffer zlibCompress(ByteBuffer datain, long nin, SizeTPointer pnout)
public static byte[] zlibCompress(byte[] datain,
long nin,
SizeTPointer pnout)
public static BytePointer zlibUncompress(BytePointer datain, long nin, SizeTPointer pnout)
public static ByteBuffer zlibUncompress(ByteBuffer datain, long nin, SizeTPointer pnout)
public static byte[] zlibUncompress(byte[] datain,
long nin,
SizeTPointer pnout)
Copyright © 2014. All Rights Reserved.